public class Funny {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub}
int n=5;
if (n==5);{
System.out.println("welcome");
}
else if (n<5);{
System.out.println("world");
}
}
}
}
Description Resource Path Location Type
Syntax error on token "else", delete this token Funny.java /Hello Woood/src line 15 Java Problem
如果答案有幫助,請單擊複選標記以接受它。這告訴別人這個問題已經回答了。 – Almo