论文部分内容阅读
第一部分选择题一.单项选择题1. 答案D 分析:输入数据必须输入保密口令和数据经过加密处理都不是面向对象程序设计的特征:对象内部数据结构上也不可能建有防火墙.所以它们都不是面向对象程序设计中所指的数据隐藏。面向对象程序设计系统中的封装单位是对象,对象之间只能通过接口进行信息交流.外部不能对对象中的数据随意地进行访问,这就造成了对象内部数据结构的不可访问性,也即使得数据被隐藏在对象中。这就是面向对象程序设计中的数据隐藏所指。
The first part of the multiple-choice questions A. The single-choice questions 1. Answer D analysis: the input data must be entered secret password and data are not encrypted by object-oriented programming features: Object internal data structure is also impossible to build a firewall. Not object-oriented programming refers to the data hiding. Object-oriented programming system package unit is the object, the object can only communicate through the interface information can not be external to the data in the object to visit, which resulted in the internal data structure of the object is not accessible, even if The data is hidden in the object. This is what is meant by data hiding in object-oriented programming.