4 ConceptObjectOriented Part2
4 ConceptObjectOriented Part2
with Java
(CT038-3-2)
Prepared by: Lee Kim Keong First Prepared on: June 13 Last Modified on: April 19
Quality checked by: null
Copyright 2019 Asia Pacific University of Innovation and Technology
Learning outcome
Object Orientation
Encapsulation
Abstraction
Modularity
Hierarchy
CT038-3-2 Object Oriented Development with Java Concepts of Object Oriented
What Is Abstraction?
Student Professor
Improves Resiliency
CT038-3-2 Object Oriented Development with Java Concepts of Object Oriented
Encapsulation Illustrated
Ac
ce
pt
()
Co
s
ur
de
se
ra
O f fe
G
al
rin
in
g(
)
i tF
Name: J Clark
bm Employee ID: 567138
Su
HireDate: 07/25/1991
Status: Tenured
Se
MaxLoad:4
ax
Lo
ad
()
TakeSabbatical()
Course
Catalog
System
Course Registration
System Student
Management
System
Manufacturer B
Manufacturer A Manufacturer C
OO Principle:
Encapsulation
financialInstrument.getCurrentValue()
ge ge ge
tC tC tC
ur ur ur
re re re
nt nt nt
Va Va Va
lu lu lu
e( e( e(
) ) )
Generalization
Relationship
Multiple Inheritance