1/11
Looks like no tags are added yet.
Encapsulation
Inheritance
Polymorphism
Abstraction
The four pillar of OOP
Encapsulation
Bundling data and behavior together and controlling access to them. Data protection and controlled access.
Inheritance
An Object-Oriented Programming mechanism where one class acquires the attributes and methods of another class.
Polymorphism
One interface, many implementations or behaviors.
Abstraction
Hiding complexity behind a simple, focused interface.
Superclass
Parent Class
The existing class whose attributes and methods are inherited by another class.
Subclass
Child Class
extends Keyword
A Java keyword used to declare that one class inherits from another class.
super Keyword
A Java keyword that refers to the superclass portion of the current object.
private Access Modifier
An access modifier restricting access to a member within its declaring class.
protected Access Modifier
An access modifier that permits access within the same package and from subclasses under Java's protected-access rules.
public Access Modifier
An access modifier that permits a member to be accessed from other classes wherever its enclosing class is accessible.