prog.cpp:18:1: error: ‘import’ does not name a type
import java.util.*;
^
prog.cpp:19:1: error: ‘import’ does not name a type
import java.lang.*;
^
prog.cpp:20:1: error: ‘import’ does not name a type
import java.io.*;
^
prog.cpp:25:9: error: expected ‘:’ before ‘static’
public static void main (String[] args) throws java.lang.Exception
^
prog.cpp:25:27: error: ‘String’ has not been declared
public static void main (String[] args) throws java.lang.Exception
^
prog.cpp:25:36: error: expected ‘,’ or ‘...’ before ‘args’
public static void main (String[] args) throws java.lang.Exception
^
prog.cpp:25:40: error: expected ‘;’ at end of member declaration
public static void main (String[] args) throws java.lang.Exception
^
prog.cpp:25:42: error: ‘throws’ does not name a type
public static void main (String[] args) throws java.lang.Exception
^
prog.cpp:29:1: error: expected ‘;’ after class definition
}
^