What is object-oriented programming?
Object-oriented programming (OOP) is a programming language model that organizes software design around data, or objects, rather than functions and logic. An object can be defined as a data field that has unique attributes and behavior.
Object-oriented programming is based on the following principles:
- Encapsulation- The implementation and state of each object are privately held inside a defined boundary, or class. Other objects do not have access to