OBJECT ORIENTED PROGRAMMING. OOPS Class Object
Abstraction
Inheritance
Interface
Encapsulation
Polymorphism CLASS
Class is logical entity
Class contain set of objects or collection of objects OBJECTS Objects are real time entity Identify the object by its
Identity
State
Behavior ABSTRACTION
The general meaning for abstraction is ELIMINATION i.e.
fetching only the wanted information even though all information is available based on our need we are eliminating the unwanted information. INHERITANCE
When one Class extends another Class. Deriving new
class from the existing class parent child relationship POLYMORPHISM
The general meaning for POLY — many MORPHISM —
behavior. Two types of polymorphism. ENCAPSULATION
Encapsulation is a process of wrapping code and data
together into a single unit e.g. capsule i.e mixed of several medicines.