封装性

1.方法就是一种封装

2.private就是一种封装:只能在本类使用 可以用this.访问

原文地址:https://www.cnblogs.com/worldof/p/10670063.html