qq_夏目热雪_0
2016-12-10 13:13
public class G {
public static void main(String[] args)
int i = 0;
int j = 0;
int sum = 0;
for(i=0;i<=9;i++){
for(j=0;j<=9;j++)
sum = j * i;
System.out.println("sum = j * i:"+sum);
}
}
第一行显示错误:Syntax error, insert "}" to complete ClassBody
第二行显示错误:Multiple markers at this line
- Method breakpoint:G [entry] - main(String[])
- Syntax error on token ")", { expected after this
token
main方法之后你没有大括号
Java入门第一季(IDEA工具)
1168072 学习 · 18753 问题
相似问题