简体   繁体   中英

What is the technical term for all variables/members of a class that are only for internal purpose?

程序员是否常使用一个专门的术语来谈论C ++类的变量和成员,这些变量和成员仅出于内部目的使用(例如某些受保护的静态const),并且最终用户不应该使用这些术语和成员?

也许您要搜索的词是封装 ,这是他们教您关于大学中面向对象编程的四个流行词之一(其他三个是继承,多态和抽象)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM