标签:get variable toc diff setter hid res str detail
Abstraction happens at class level design. It results in hiding the implementation details. Encapsulation is also known as “Information Hiding”.
An example of encapsulation is marking the member variables private and providing getter and setter for these member variables.
java abstraction and encapsulation
标签:get variable toc diff setter hid res str detail
原文地址:https://www.cnblogs.com/longchang/p/10648340.html