最新文章列表

Chapter 6. Interfaces and Inner Classes -- Core Java Ninth Edition

1.  Methods are never implemented in the interface. You cannot put instance fields or static methods in an interface (because you can't implement it and its implementation cann't override it due to s ...
leonzhx 评论(0) 有1346人浏览 2013-02-04 20:41

Java面试问题之二十八

请阅读以下代码段,给出这段程序运行结果,并尝试总结一下匿名类的特点。 package com.ecom.baidu; public class A { A(int v) { System.out.prin ...
YuHuang.Neil 评论(0) 有1023人浏览 2011-09-14 17:45

Chapter 10. Inner Classes -- Thinking in Java

1)  It’s possible to place a class definition within another class definition. This is called an inner class.   2) If you want to make an object of the inner class anywhere except from within a met ...
leonzhx 评论(0) 有1553人浏览 2010-10-01 17:40

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