click below
click below
Normal Size Small Size show me how
OOP
Object Oriented Programming terms Inheritance & Polymorphism
Question | Answer |
---|---|
Polymorphism | A programming language's ability to process objects differently depending on their data type or class. |
Inheritance | When a class is based on another class. |
Encapsulation | An object oriented programming concept that binds together the data and functions that manipulate the data and that keeps both safe from outside interference and misuse. |
Superclass | A class that has been extended by another class. |
Subclass | A class that inherits data and functionality from another class. |
Implements | A Java keyword used to create a class interface. |
Extends (keyword) | A Java keyword used to extend a class. |
Interface (keyword) | Similar to a class except a Java interface can only contain method signatures and fields. |
Abstract (class) | A class that cannot be instantiated directly but can be subclassed. |
Super (keyword) | A Java keyword used inside a sub-class method definition to call a method defined in the super class. |
Base (class) | A class from which other classes are derived. |
Late Binding | A computer programming mechanism in which the method being called upon an object is looked up by name at runtime. |
Dynamic Binding | A computer programming mechanism in which the method being called upon an object is looked up by name at runtime. |
Data hiding | A software development technique used in object-oriented programming to hide internal object details. |
Static Binding | A computer programming mechanism in which the method being called upon an object is determined at compile time. |