Object Oriented Programming
Data controlling access to the code. Organizes the classes and interfaces around data.
- Abstraction- provides necessary information from data.
Principles of oop
- Encapsulation – binding of data and methods together by using class.
- Class- logical construct means to structure and behavior of a set of objects.
Member variables or instance variables
Member methods or methods
Public and private access specifiers
Object-physical reality--- instance of a class.
Inheritance-inherits the properties of one object to another.
Parent properties + subclass individual properties
- Polymorphism- one interface to specify a general class of action.
Addition of 2 members - Addition of 3 members