Object-Oriented Programming (OOP)

OOP is a programming paradigm based on the concept of “objects,” which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods.
There is significant diversity of OOP (object-oriented programming) languages, but the most popular ones are class-based, meaning that objects are instances of classes, which typically also determine their type.

Classes
A class is a construct or prototype from which objects are created. A class defines constituent members which enable class instances to have state and behavior. Data field members enable a class object to maintain state and methods enable a class object’s behavior.



Objects
A feature of objects is that an object’s procedures can access and often modify the data fields of the object with which they are associated. In OOP, programs are designed by making them out of objects that interact with one another.



Review: Terminology of Object-Oriented Programming
Which function allows a subclass to provide a specific implementation of a method that is already provided by one of its superclasses?

  Abstract
  Encapsulation
  Overloading
  Overriding
        Result:




      I heard women love a man in uniform. Can’t wait to start working at McDonalds.