prog.cpp:3:1: error: ‘import’ does not name a type; did you mean ‘short’?
import java.util.*;
^~~~~~
short
prog.cpp:4:1: error: ‘import’ does not name a type; did you mean ‘short’?
import java.lang.*;
^~~~~~
short
prog.cpp:5:1: error: ‘import’ does not name a type; did you mean ‘short’?
import java.io.*;
^~~~~~
short
prog.cpp:10:8: error: expected ‘:’ before ‘static’
public static void main (String[] args) throws java.lang.Exception
^~~~~~~
:
prog.cpp:10:27: error: ‘String’ has not been declared
public static void main (String[] args) throws java.lang.Exception
^~~~~~
prog.cpp:10:36: error: expected ‘,’ or ‘...’ before ‘args’
public static void main (String[] args) throws java.lang.Exception
^~~~
prog.cpp:10:40: error: expected ‘;’ at end of member declaration
public static void main (String[] args) throws java.lang.Exception
^
;
prog.cpp:10:42: error: ‘throws’ does not name a type
public static void main (String[] args) throws java.lang.Exception
^~~~~~
prog.cpp:22:1: error: ‘boolean’ does not name a type; did you mean ‘bool’?
boolean isEqual(String[] code1, String[] code2)
^~~~~~~
bool
prog.cpp:36:1: error: ‘boolean’ does not name a type; did you mean ‘bool’?
boolean plagiarismCheck(String[] code1, String[] code2) {
^~~~~~~
bool
prog.cpp:70:2: error: expected ‘;’ after class definition
}
^
;