public class test {
public static void main(String[] args)
{
int a = 20 ;
int b = 30 ;
if(a<b) {
System.out.println("in if");
}else {
System.out.println("in else");
}
}
// file name is test
// error
Exception in thread “main” java.lang.Error: Unresolved compilation problem:
Syntax error, insert “}” to complete ClassBody
at test.main(test.java:25)