I may be imprudent carelessness, through online information, will now be under their own blog warning .
The main reason for this problem is:
Because the syntax problems caused by errors
Solution:
1. Check the semicolon.
2. Check the main function.
3. Check the parentheses after the main function String [] args;
Well, the summary is completed.
错误的示范:
public class Clsa {
public static void mian(String[] args){//main error!!!!!
System.out.println("dsfdsfd ");
}
}
正确的示范:
public class Clsa {
public static void main(String[] args){
System.out.println("dsfdsfd ");
}
}