本月博客排行
-
第1名
wy_19921005 -
第2名
mft8899 -
第3名
benladeng5225 - duanfei
- Anmin
- wddpwzzhao123
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
wy_19921005 - benladeng5225
- vipbooks
- kaizi1992
- tanling8334
- sam123456gz
- arpenker
- zysnba
- fantaxy025025
- xiangjie88
- wallimn
- e_e
- jh108020
- ganxueyun
- Xeden
- xyuma
- wangchen.ily
- zhanjia
- johnsmith9th
- zxq_2017
- forestqqqq
- jbosscn
- daizj
- xpenxpen
- 青否云后端云
- 喧嚣求静
- kingwell.leng
- lchb139128
- kristy_yy
- javashop
- lzyfn123
- sunj
- yeluowuhen
- ajinn
- lerf
- lemonhandsome
- chenqisdfx
- xiaoxinye
- lyndon.lin
- flashsing123
- bosschen
- zhangjijun
- sunnylocus
- lyj86
- paulwong
- sgqt
- hudiemeng870329
- mft8899
最新文章列表
Item 22: Favor static member classes over nonstatic
1. A nested class should exist only to serve its enclosing class. If a nested class would be useful in some other context, then it should be a top-level class.
2. There are four kinds of nested ...
JLS --(Java 类的分类)
Java中的类(class)定义了新的引用类型,以及他们的实现。Java中的类大体上可以分为顶层类(top level class)和嵌套类(nested class)。所谓嵌套类,指在另一个类或接口体内声明的任何类,而顶层类,指所有的非嵌套类。
嵌套类包括以下三种类:
1)成员类(member classes);
2)本地类(local classe ...