We have a
java program(Read only) and lets name it A.java, and this program is compiler error free. Now lets make certain changes to it(delete/comment) some logic and print statements and store it as B.java.
Since B.java is a new program there are possibility for compilers errors in it. Now without compiling B.java we should figure out if there are any syntax errors in it.
Clue: Your program can take only B.java and find the solution (or) both A.java and B.java do some comparison (or) other logic and should print there is no error (or) error in the new program.
I was told that this is just 15 - 20 lines of code.