Kategorier: Alla - methods - inheritance - polymorphism

av Vassilis T för 11 årar sedan

1978

OOP

Object-Oriented Programming (OOP) revolves around using classes as blueprints to create objects. These classes define the attributes and behaviors that the objects will have. When a new object is created from a class, it is called an instance.

OOP

OOP

Class

Instance of Classes
Constructor
new()
Blue print for the object (Plan)

Polymorphism

Methods that objects respond to in a differnet manner
Overloading
Overwriting

Inheritance

super ()
extends