There are three pillars in Object Oriented Programming
- Encapsulation- Grouping related properties, methods, events, and fields in a single unit or object.
- Inheritance- Creating new classes based on an existing class, which provides ability to reuse existing features of a base class, adding new members and/or modifying existing members
- Polymorphism- provides the ability to assign a derived class to base class and to access the derived class members through the base class.
No comments:
Post a Comment