- 1
What term is used for hiding the details of an object from the other parts of a program?
java
5 Respuestas
+ 3
Mouaouia El Massaouqui
Applying the term encapsulation using the private keyword before any function or attribute.
+ 1
encapsulation
0
Encapsulation
- 1
Like what Juan Debenedetti said you can use the private keyword, but do know that private only allows the class its defined in to access it, you could use the protected keyword as well. Protected variables and methods allow the class itself to access them, classes inside of the same package to access them, and subclasses of that class to access them.
- 2
Encapsulation