Kategóriák: Minden - methods - inheritance - polymorphism

a Vassilis T 11 éve

2000

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