Java基础知识学习
文章平均质量分 77
qwzdy
这个作者很懒,什么都没留下…
展开
-
DataInputStream之readXXX()
这里说明两三个实例,后面的看源代码就很清晰了。 1.readBoolean() public final boolean readBoolean() throws IOException { int ch = in.read(); if (ch < 0) throw new EOFException(); retu原创 2014-07-07 22:22:20 · 2440 阅读 · 0 评论 -
Class类的asSubClass()方法
假设你持有一个java.sql.Date()的对象原创 2014-07-09 22:50:52 · 4231 阅读 · 0 评论