1. public void sit(){} 不要分号啊 //叫空实现
2。while(true) //叫空实现
{ }
3. 虚函数在大括号后面要分号
接口 里面需要分号如::public interfae My
{
public void add(int x,int y);
}
class Dome implements My
{
public void add(int x,int y)
{
System.out.println(""+(x+y));
}
}
2。while(true) //叫空实现
{ }
3. 虚函数在大括号后面要分号
接口 里面需要分号如::public interfae My
{
public void add(int x,int y);
}
class Dome implements My
{
public void add(int x,int y)
{
System.out.println(""+(x+y));
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货