Introduction To Object-Oriented Programming
Introduction To Object-Oriented Programming
1
Introduction to Object-Oriented Programming
Aggregation
&eryt"ing in an object+
An object "as
be"a&ior
A description o! t"e
common properties o! a
set o! objects+
A concept+
A class is a part o! a
program+
4ample 1: Person
4ample #: Album
Object
A representation o! t"e
properties o! a single
instance+
A p"enomenon+
A dynamic instance is
created e4plicitly ,it" a
special command+
OOP: Introduction
1E
Interaction bet,een Objects
0"aracteristics o! a concept
A name
;"at are t"e actions o! t"e program &s+ ,"ic" data does t"e
program act on+
Internet programming
Iarbage collection
F"as-aG relations"ip
ncapsulation