2.8OBJECT-ORIENTED PROGRAMMING
Object-Oriented Programming (OOP) refers to a type of computer programming (software design) in which programmers define the data type of a data structure and the types of operations (functions) that can be applied to the data structure.
In this way, the data structure becomes an object that includes both data and functions. Programmers can create relationships between one object and another. For example, objects can inherit characteristics from other objects.
The Basic OOP Concepts
If you are new to object-oriented programming languages, you will need to know a few basics before you can get started with code. The following Webopedia definitions will help you better understand object-oriented programming:
•Abstraction: The process of picking out (abstracting) common features of objects and procedures
•Class: A category of objects. The class defines all the common properties of the different objects that belong to it.
•Encapsulation...