ITPUB个人空间 »
silver_xie的个人空间
欢迎访问 silver_xie 的个人空间
我的论坛主题
-
2008-02-24 22:14:46 / Java入门与认证版
我的底子:有过两年java B/S编程经验+两年的java B/s and C/s测试经验+n 年 Solaris 经验考试准备:一个月考试书籍:1)scjp5 study guide english这个用处大大的。。。基本不用看其他的,有问题就用google搜索一下那个topic2)think'in java 辅助(有一点点用处)3)以前学java用的那个java宝典,估计现在没人看那玩意了。。呵呵考试准备:study guide 读了两遍think'in java 草草的一遍考试题不到2遍,这个也是重中之中啊!我要是有时间一定多看两遍!分数会高的也没什么窍门,我觉得,就是
查看(1298)
评论(14)
-
2008-02-19 21:04:57 / Java入门与认证版
因为个人原因,提前考试了,没想到过了,虽然只有80%的通过率,但是还是通过了,这一个月的努力没有白费!尤其感谢Itpub的各位大侠。。。。太高兴了。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。希望后面的同学们:ipig: 都能顺利通过
查看(1494)
评论(21)
-
2008-02-16 17:49:23 / Java入门与认证版
Runtime的exception比较多:1) NullPointerException2)ArithmeticException3)ArrayStoreException4) ClassCastException5)java.lang.IllegalArgumentExceptionjava.lang.NumberFormatExceptionIllegalThreadStateException6) IndexOutOfBoundsExceptioncompile:1) ClassNotFoundException2) DateFormatException3) ParseException4) InterruptedIOException5) FileNotFoundException6) IOException[ 本帖最后由 silver_xie 于 2008-2
查看(626)
评论(6)
-
2008-02-15 18:55:27 / Java入门与认证版
说的很有道理!因为有些题考得就是这个!!!上当了。。。。:mad:3、总结:Javadoc中的一些描述可能是不准确的,大家要当心了!Set中实现元素互异的各种方法差异很大,大致可以分为三种:使用equals,使用hashCode,使用compareTo。但是我还没有发现采用“判断地址空间是否相同”来判断元素是否相同的类,当然我们可以用现有的三种方法来实现“判断地址空间是否相同”。引自:http://bbobchen.javaeye.com/blog/85870
查看(513)
评论(7)
-
2008-02-15 18:09:00 / Java入门与认证版
大家觉得呢?:terrible:[ 本帖最后由 silver_xie 于 2008-2-15 19:09 编辑 ]
查看(309)
评论(2)
-
2008-02-15 18:04:08 / Java入门与认证版
List
查看(528)
评论(2)
-
2008-02-14 23:00:02 / Java入门与认证版
:sweat:这句话The type List is assignable to List.是相当于List la=new ArrayList();吧?或者更准确的List la=new ArrayList();List type的laList l=la;is assignable to List题意是这样吧?:sweat2:[ 本帖最后由 silver_xie 于 2008-2-15 20:18 编辑 ]
查看(953)
评论(22)
-
2008-02-14 22:25:13 / Java入门与认证版
Click the Exhibit button.1. import java.util.*;2. class KeyMaster {3. public int i;4. public KeyMaster(int i) { this.i = i; }5. public boolean equals(Object o) { return i == ((KeyMaster)o).i; }6. public int hashCode() { return i; }7. }8. public class MapIt {9. public static void main(String[] args) {10. Set set = new HashSet();11. KeyMaster k1 = new KeyMaster(1);12. KeyMaster k2 = new KeyMaster(2);13. set.add(k1); set.add(k1);14. set.add(k2); set.add(k2);15. Syst
查看(835)
评论(19)
-
2008-02-14 19:22:55 / Java入门与认证版
A private static method can be called only within other static methods in class X.private static方法只能被class x内的其他static方法调用。。。。没啥错啊?:terrible:[ 本帖最后由 silver_xie 于 2008-2-14 22:16 编辑 ]
查看(380)
评论(6)
-
2008-02-14 13:33:09 / Java入门与认证版
大家看看我总结的thread那些事被保证的规则,是不是对的? Java入门与认证版2008-2-14 13:23by silver_xie 正常 想问各位大仙:t2.interrupt()的问题 Java入门与认证版2008-2-14 11:44by silver_xie 正常 很短很简单,到底有几个String Object 被created了? Java入门与认证版2008-2-14 11:03by silver_xie 正常 忽然想起几个陷阱!!大家考试注意阿 Java入门与认证版2008-2-13 20:32by silver_xie 正常 The exception will be propagated back to line xx???? Java入门与认证版2008-2-14 10:29by iooyoo 正常 enum的val
查看(471)
评论(3)