最新文章列表

Chapter 5. Inheritance -- Core Java Ninth Edition

1.    The prefixes super and sub come from the language of sets used in theoretical computer science and mathematics. The set of all employees contains the set of all managers, and this is said to be ...
leonzhx 评论(0) 有1338人浏览 2013-02-04 12:42

深入理解java多态性

(一)相关类 class A ...{         public String show(D obj)...{                return ("A and D");         } 
billdwl 评论(0) 有773人浏览 2012-07-04 12:36

已前的学习笔记java lesson 9

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

Deeper understanding of Abstract Class & Interface

  In Java, abstract class and interface are subtle to distinguish because they have a lot features in common.   Firstly, I want to illustrate some obvious differences between them:   From the ke ...
thinkingmt 评论(0) 有1051人浏览 2011-12-16 07:36

面向对象基础

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

Java进阶 ---- 多态(Polymorphism)

      从前面的继承(Inheritance)到比较this和super,所用的例子都夹杂着多态(Polymorphism)的味道。所以,这篇就是阐述个人总结的多态(Polymorphism)         多态,并没有关键字,可以视之为Java的三大特性之一,也可以视为继承“is a”的另一阐述“substitution principle(代理准则)”的体现。在Java中,对象变量(引 ...
瘋叻ハ.兩 评论(2) 有3203人浏览 2011-09-06 21:28

Chapter 8. Polymorphism -- Thinking in Java

1) Polymorphism is the third essential feature of an object-oriented programming language, after data abstraction and inheritance. It provides another dimension of separation of interface from implem ...
leonzhx 评论(0) 有1334人浏览 2010-10-01 17:38

Chapter 1. Introduction to Objects -- Thinking in Java

1)  All programming languages provide abstractions. It can be argued that the complexity of the problems you’re able to solve is directly related to the kind and quality of abstraction. By “kind” I m ...
leonzhx 评论(0) 有1083人浏览 2010-10-01 17:21

最近博客热门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