Compiler output
prog.java:2: error: <identifier> expected
pubapublic class prog {
^
prog.java:2: error: <identifier> expected
pubapublic class prog {
^
prog.java:36: error: class, interface, or enum expected
}lic static void main(final String[] args) {
^
prog.java:36: error: class, interface, or enum expected
}lic static void main(final String[] args) {
^
prog.java:38: error: class, interface, or enum expected
java.util.Scanner scan = new java.util.Scanner(System.in);
^
prog.java:40: error: class, interface, or enum expected
int n = scan.nextInt();
^
prog.java:58: error: class, interface, or enum expected
if(n%2==1)
^
prog.java:60: error: class, interface, or enum expected
else
^
prog.java:64: error: class, interface, or enum expected
}
^
9 errors
javac failed: errno= return=256 at /home/marius/perl5/bin/gruntmaster-compile line 22.