Object-oriented or object-orientation is a software engineering concept, in which concepts are represented as "objects"
Object |
An object is a software bundle of related state and behavior. Objects are often used to model the real-world objects that you find in everyday life. |
Class |
A class is a blueprint or prototype from which objects are created. |
Abstraction: |
Data abstraction refers to, providing only essential information to the outside world and hiding their background details, i.e., to represent the needed information in program without presenting the details. |
Encapsulation |
Encapsulation means that a group of related properties, methods, and other members are treated as a single unit or object. |
Inheritance |
Inheritance describes the ability to create new classes based on an existing class. |
Polymorphism |
Polymorphism means that you can have multiple classes that can be used interchangeably, even though each class implements the same properties or methods in different ways. |
No comments: