You need to compare two files that will be following the java code when it is in execution assuming the java file is cmp.java -