![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
iteye_19635
这个作者很懒,什么都没留下…
展开
-
String对象(一)
-------参考Java面试解惑:究竟创建了几个对象? 问题提出: 一. String abc=new String("abc");究竟创建了几个String对象?(2个 ) 把改式子分解为: 1. String abc 声明了一个变量,没产生新对象 2. = 赋值操作,也没产生新对象 3. new S...原创 2008-10-12 16:14:08 · 66 阅读 · 0 评论 -
String对象(二)
根据前面的分析,来看下面几段代码输出: public class StringTest { public static void main(String[] args) { String ab="ab"; String cd="cd"; String abcd="abcd"; String abcd1="ab"+"cd";//常量的值在编译时...2008-10-12 16:20:08 · 92 阅读 · 0 评论 -
String对象(三)-----一道Morgan IT笔试题
一道Morgan IT笔试题,关于生产了几个对象的 public class Test { static void print(String s1,String s2) { if(s1 == s2) System.out.println("Ooops~"); ...2008-10-12 16:30:14 · 89 阅读 · 0 评论 -
Eclipse无法启动:JVM terminated.Exit Code=-1
Today I am planning to study the code about the Team Robot which is downloaded Form the zone of Robocode. But I found my Eclipse cannot be openned. Errors: JVM terminated.Exit Code=-1.....2008-10-21 08:45:15 · 71 阅读 · 0 评论