請(qǐng)問(wèn)有知道這個(gè)哪里錯(cuò)了的么
public class HelloWorld {
? ? public static void main(String[] args) {
int one = 20 ;
? ? if (one%2==0){
? ? System.out.println("one是偶數(shù)")
? ? }
? ??
? ??
}
}
public class HelloWorld {
? ? public static void main(String[] args) {
int one = 20 ;
? ? if (one%2==0){
? ? System.out.println("one是偶數(shù)")
? ? }
? ??
? ??
}
}
2017-09-30
舉報(bào)
2017-09-30
從代碼來(lái)看的話確實(shí)是少了個(gè)分號(hào),而且我復(fù)制過(guò)來(lái)加上分號(hào)運(yùn)行沒(méi)問(wèn)題
2017-09-30
還是不對(duì)。。。
2017-09-30
發(fā)現(xiàn)了 少個(gè)分號(hào)。。。