Abstraction, Encapsulation, Polymorphism, Interface

Hello beautiful human, Currently I covered the Class, Object, Inheritance. And Now we are going to cover Abstraction, Encapsulation, Polymorphism and Interface Abstraction Abstraction is the hiding of the internal implementation details. The Main idea behind abstraction is to reduce complexity and increase efficiency. Example: The user will never know about the internal process of … Continue reading Abstraction, Encapsulation, Polymorphism, Interface

Inheritance

Hello beautiful people, We already completed the overview of Object Oriented Programming(OOP), Class and Object. Now we move to Inheritance. What is Inheritance? Inheritance is a property by when a class acquires the attributes and behaviour of the parent class. Example: A child inherits the LastName of his parent. Why it is used?  It is used … Continue reading Inheritance