Classes - Java Quiz Question


Compare the following program?


A
Both CrossCheck1 and CrossCheck2 produce same output.
B
CorssCheck1 does not compile, but CorssCheck2 will compile.
C
CorssCheck2 does not compile, but CorssCheck1 will compile.
D
Both CorssCheck1 and CorssCheck2 compile, but they produce different output.
E
Both CorssCheck1 and CorssCheck2 does not compile.