-
Notifications
You must be signed in to change notification settings - Fork 0
OOP Concepts
Kaveesha Vishmini Kottahachchi edited this page Mar 25, 2024
·
1 revision
Encapsulation : Mechanism of binding the methods and the data together and acting like a safety cover.
Polymorphism : * Polymorphism means "many forms". * It occurs when we have many classes that are related to each other by Inheritance (The ability of an Object to take on many forms.)
Inheritance : The mechanism in which one class acquires the property of another class. ex : A child inherits the traits of parents
Abstraction : Showing essential and hiding non-essential features to users.