Professional Documents
Culture Documents
Oriented
Encapsulation
Inheritance
Polymorphism
Three Principles
Public instance
variable
Public method
Private instance
variable
Private method
In
Thus,
nderstand
u
l
il
w
u
o
y
,
ple
s have a
m
t
c
a
x
je
e
b
o
is
h
ll
t
a
,
m
e
r
Hope fro
this pictu
In
.
ntation.
is
e
m
m
s
le
i
p
h
p
im
r
t
o
n
m
e
w hat Poly
as a differ
action for a
h
n
h
a
c
e
a
r
e
la
t
c
u
e
b
d
ak()
, you can
is
th
o
d
method Spe
to
n w rite
u
a
o
c
y
u
s
o
y
w
,
o
s
ll
s
a
la
m
each subc
r
fo
Polymorphis
t
u
b
s
e
s
subclas
class and its
ant later.
w
u
o
y
t
a
h
w
exactly