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方法之后你没有大括号