摘要: 1、保护封装性: 0x6f6c6c656855 hello hello world 0x100442af0 hello world hello world 总结:上面的实例中,Man实例对象中的name属性,没有通过setter方法,就完成了name属性的修改,破坏了封装性。 2、备份内容: 3、c 阅读全文
posted @ 2018-04-18 13:18 u37kl 阅读(180) 评论(0) 推荐(0) 编辑