4:/* here /* herre */ there */ 是不是这样的?
别的我也不懂啊,呵呵

解决方案 »

  1.   

    2比如下列情况:public class Test{
        int j;
        {//line0
            try{
                j=m(1);
            }catch(IOException e){}
        }//line1    public int m(int i) throws IOException{
            if(i==1)
            throw new IOException();
            return 0;
        }
    }在这里,m方法throws一个IOException,而j用到m方法
    来初始化,这时,这个IOException不能再向外传递了(已经
    到头了),这时必须用try/catch来处理掉。为此,做一个“instance 
    initializer block”块(line0-line1),并在块内用try/catch来捕获
    那个IOException5
    native 好象是可以同时用于static/instance方法的别的不清楚,嘻嘻
      

  2.   

    answer 3
    you can declare or initialize more than one variable in a for loop, but you can't mix declarations with initialization
    for example :
    //you can't do this
    int i;
    for(i=0,int t=0;i<10;i++)