Encapsulation refers to the concept of making an object a black box, so that when you use that object you do not know its internal workings.
封装指的是使对象成为黑箱的概念,这样当使用对象时就不知道它的内部工作原理。
Encapsulation refers to the concept of making an object a black box, so that when you use that object you do not know its internal workings.
封装指的是使对象成为黑箱的概念,这样当使用对象时就不知道它的内部工作原理。
应用推荐