Encapsulation is binding of attributes and behaviors. Hiding the actual implementation and exposing the functionality of any object.
Hiding the complexity. It is a process of defining communication interface for the functionality and hiding rest of the things.
An abstract class is a special kind of class that cannot be instantiated. It normally contains one or more abstract methods or abstract properties. It provides body to a class.
What is Polymorphism? Mean by more than one form. Ability to provide different implementation based on different number/type of parameters.
No comments:
Post a Comment