回 帖 发 新 帖 刷新版面

主题:请教高手们

DataInputSteam inp=new DataInputSteam(System.in);
这里的System.in是什么意思呀,

year=new Integer(a).intValue();
怎么Integer还能这样用的呀,Integer到底是什么东西呢,有什么作用呀,请各位高手帮帮我忙,谢了

回复列表 (共4个回复)

沙发

If you decide not to read a book, you will never learn Java.

Sorry to tell you the truth.

板凳

[url]http://www.finereport.com[/url]
去这里看看,能否帮你解决!

3 楼


Integer 是一个类来的..通过那句代码可以实现类型的转换.

4 楼


谢了各位,java讨论区比jsp讨论区好多了。

我来回复

您尚未登录,请登录后再回复。点此登录或注册