Kategorien: Alle - methods - inheritance - polymorphism

von Vassilis T Vor 12 Jahren

2003

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