首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX
›
ChanKc
›
全部回复第 19 页 / 共 19 页
回复总数
361
1
...
10
11
12
13
14
15
16
17
18
19
❮
❯
2019-04-09 23:40:58 +08:00
回复了
karia
创建的主题
›
Java
›
问下 inner class 里想写 static nested class 作为工具类的时候该怎么办
@
zealot0630
If you declare a member class that does not require access to an enclosing instance, always put the static modifier in its declaration, making it a static rather than a nonstatic member class.
来自 Effective Java 3rd Edition Item 24
1
...
10
11
12
13
14
15
16
17
18
19
❮
❯
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
5588 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms ·
UTC 06:02
·
PVG 14:02
·
LAX 22:02
·
JFK 01:02
Developed with
CodeLauncher
♥ Do have faith in what you're doing.