7.1.1面向对象程序设计的方法7.1.1面向对象程序设计的方法面向对象程序设计方法有3个基本特性:(1)封装性(Encapsulation)是指把对象的各个属性和方法按照适合的访问权限提供给外部使用,并且保证对象的属性和方法的实现细节对使用者透明。
基于1780个网页-相关网页
Realize that the use of large data files access to the database to better guarantee the safety, integrity and encapsulation.
指出利用二进制实现对大数据文件进行存取,能更好地保证数据库运行的安全性、完整性和封装性。
参考来源 - BLOB数据存储技术及其在WEB2.0中的应用—《电脑知识与技术·学术交流》—2008年第19期—龙源期刊网·2,447,543篇论文数据,部分数据来源于NoteExpress
达到合适的封装性和内聚性仍然是一门艺术。
Achieving the right amount of encapsulation and cohesion is still an art.
在右上方的图表中,没有封装性,具有高度的内聚性。
In the upper right there is no encapsulation and high cohesion.
这是一个更具封装性,也更具重用性的设计。
This is a much more encapsulated design, and allows for great reuse.
And that's a wonderful thing to have because it gives you that modularity, that encapsulation that basically says, when I create a point, the only way I can get at the values, is by using one of the defined methods, in this case it could be Cartesian, Cartesian and get all the pieces of that.
这是很棒的一件事情,因为它让你有了,模块性以及封装性,这基本上也就是说,当我创建了一个点,我能够得到它的值的唯一的方式,就是用一个定义好的方法,在这个例子中也就是。
应用推荐