帮忙看下什么语法问题
class test{
int i = 0;//这句话总提示分号问题。我用的eclipse编译的
if(i)
{
System.out.println("=====================");
}
}
public class tmp
{
public static void main(String [] args)
{
new test().i = 1;
}
}
2010-09-20 17:11
2010-09-20 17:20
2010-09-20 17:23
2010-09-20 17:30
2010-09-20 21:31
2010-09-20 22:42
2010-09-21 17:59
2010-09-25 10:20

2010-09-27 12:47
2010-09-27 13:58