变量声明

时间:2015-10-03 18:32:20

标签: java declaration

我不断收到以下消息,不知道原因:

  

语法错误,插入" VariableDeclarators"完成LocalVariableDeclaration

这是我在Java中的代码:

public class Trying
{
    int i = 0;

    public static void main(String[] args)
    {
        nestedFor;
        int i =0;

    }

    /*public static void nestedFor(int) 
    {
        int i = 0; 
        int h =0;
        for (int = i; i<=4; i++)
            for (int = h; i <=6; h++)
                System.out.println ("Testing 1,2,3");
    }*/

    {
        {

            System.out.println ("Testing 1,2,3";)
        }
    }
}

0 个答案:

没有答案