是SCJP模拟题吧
答案不对是常事

解决方案 »

  1.   

    是模拟题
    解释如下,可是我有点不太明白
    Creating a String without the new keyword may cause the use of an already existing string in the String poolOnce created the value of a String cannot be changed, any code that appears to be doing this is actually creating another String object "behind the scenes", trust me on this, it is the correct stance for the purposes of the exam these questions are created for. 
      

  2.   

    the value of a String object 指的是该String object在Heap中的内存地址。是由JVM分配的,是固定的不能被更改。
      

  3.   

    我有点感觉他在玩文字游戏,好像在created上做文章
      

  4.   

    (2)不对
    String s = Class.forName("java.lang.String");