最新文章列表

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) 有1294人浏览 2013-02-04 20:41

Java面试问题之二十八

请阅读以下代码段,给出这段程序运行结果,并尝试总结一下匿名类的特点。 package com.ecom.baidu; public class A { A(int v) { System.out.prin ...
YuHuang.Neil 评论(0) 有969人浏览 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) 有1526人浏览 2010-10-01 17:40

最近博客热门TAG

Java(141744) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54919) .net(54785) Web(54514) 工作(54118) Linux(50905) Oracle(49875) 应用服务器(43289) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37267) 数据结构(36424)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics