1. false
   true
2. Result: 123
 In 0th loop  error:abc
  In 1th loop  error:abc
  In 2th loop

解决方案 »

  1.   

    1.false;true
    2.C11
    3.Result:123
    error:abc
    error null
    in 3th loop
      

  2.   

    对不起,是少了finally里的
    1.false
    true
    2.C11
    3. Result: 123
     In 0th loop
      error:abc
      In 1th loop
      error:null
      In 2th loop
      

  3.   

    1
    false
    true2
    C0
    C11
    3
    Result:123
    In 0th looperror:abc
    In 1th looperror:null
    In 2th loop
      

  4.   

    1:
    false
    true
    类C2中覆盖了C1中的x,所以C2中的输出是先输出当前的x,只有调用super.x才是true。
    2:
    C0
    C11
    由于C0中有C0()方法,所以在对其初始化时就输出了C0,对于输出以C11的话,那是肯定的了......
    3:
    Result: 123
    In 0th looperror:abc
    In 1th looperror:abc
    In 2th loop
    第一次(i=0),则a[0]=123,这个没问题..呵呵第二次的时候,在对abc进行转换的时候,其格式不对.......第三次的时候,由于a[2]=null,也是一个字符串,其格式也是不对的...呵呵..好久没做过这种题了,感觉有点意思.......
      

  5.   

    1
    false
    true2
    C0
    C11
    3
    Result:123
    In 0th looperror:abc
    In 1th looperror:abc
    In 2th loop
      

  6.   

    to:Aeonsun(Aeonsun)
    你越解释,我越晕!呵呵