摘要
封装性是面向对象程序设计用于保证程序健壮性的一个重要部分。C++类是抽象数据类型的代表,在数据抽象和封装方面达到了前所未有的高度。本文讨论了数据类型的发展及C++的数据封装机制,并揭示了C++类中数据成员的安全隐患。
Encapsulation is the object-oriented program designed to ensure that an important part of the process robustness.C++ class is the representative of abstract data types,and its data abstraction and packaging has reached an unprecedented height.This article discusses the data types of development and C++ data encapsulation mechanism,and reveals the C++ class data members of the security implications.
出处
《电脑编程技巧与维护》
2009年第24期22-23,共2页
Computer Programming Skills & Maintenance