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