最新文章列表

Item 13: Minimize the accessibility of classes and members

1.  A well-designed module hides all of its implementation details, cleanly separating its API from its implementation. Modules then communicate only through their APIs and are oblivious to each othe ...
leonzhx 评论(0) 有1098人浏览 2013-02-25 20:49

已前的学习笔记java lesson 9

Java lesson 9 1. 面向对象程序设计的三大基本特征:继承(Inheritence)、封装(Encapsulation)、多态(Polymorphism) 2. 封装:类包含了数据与方法,将数据与方 ...
netboy001 评论(0) 有672人浏览 2011-12-31 14:17

面向对象基础

面向对象的三大特性:   (1)封装(Encapulation):表示被封装的属性不可以被外部直接访问,只能通过set()或者get()方法完成设置和获取.建议只要是属性,都要进 ...
Moyunyu 评论(0) 有1004人浏览 2011-11-16 22:17

Chapter 6. Access Control -- Thinking in Java

1) Java provides access specifiers to allow the library creator to say what is available to the client programmer and what is not. The levels of access control from “most access” to “least access” ar ...
leonzhx 评论(0) 有1243人浏览 2010-10-01 17:36

最近博客热门TAG

Java(141747) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54918) .net(54785) Web(54513) 工作(54116) Linux(50906) Oracle(49876) 应用服务器(43288) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37268) 数据结构(36423)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics