1/25
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Object
a instance of a class that contains state and behavior.
Object Oriented Programming
a methodology or paradigm using objects and classes
Class
a blueprint for creating objects, defining their properties and behaviors.
Constructor
a special method used to initialize objects when they are created.
Default Constructor
a constructor that does not take any parameters and initializes an object with default values.
Parameterized Constructor
a constructor that does take parameters and initializes an object with specific values.
Constructor Overloading
the ability of a class to have multiple constructors with different parameter lists
Inheritance
process in which the object class acquires all the properties and behaviors of the parent class
Sub-class
a class that inherits the super-class
Super-class
a class that gets inherited by the sub-class
Reusability
a technique where it will facilitate you to reuse the fields and methods of one class to create a new class
Polymorphism
ability of an object to take on different forms to respond to the same method call or operators
Method Overloading
a class that has multiple methods having the same name but with different parameters
Method Overriding
a sub-class has the same method name as declared in the parent class
Encapsulation
process of wrapping code and data together in a single unit
get()
a read-only method used to retrieve different attributes
set()
a write-only method used to modify attributes
private
a keyword only accessible within the same class
default
a keyword only accessible within the same package
protected
a keyword accessible within the same classes and subclasses of other packages
public
a keyword accessible from anywhere in your program
Abstraction
process of hiding implementation details and showing functionality to the user
Generalization
process of extracting shared characteristics of two or more classes, combining them into a generalized classes
Specialization
creating a new sub-class from an existing class
Abstract Class
a class that is declared abstract in which objects cannot be instantiated from them
Abstract Method
a method declared without any implementations