Professional Documents
Culture Documents
Penjelasan Tentang Encapsulation
Penjelasan Tentang Encapsulation
Encapsulation
Introduction
Encaptulation is the technique of making the fields
in a class private and providing access to the fields
via public methods.
public functions
private
functions
private data
Maintainability
Encapsulation draws a boundary around a set of
data and method.
Flexibility
Encapsulation makes the code easier to visualize.
Extensibility
Makes long term development easy.
Kesimpulan
Encapsulation is the technique of making the fields
Kesimpulan (cont.. .)
Encapsulation makes the programing code:
Flexi
ble
Main
taina
ble
Exte
nsibl
e
Thank You
Reference from:
Githushan Gengaparam - Madhusoothanan
Lakshitha Imbulpitiya - Sudheera Karunaratne