I am not able to understand why this code doesn\'t compile:
class A { public static void main(String[] args) { System.out.println(\"hi\"); } } p
A.java cannot contain two classes.
A.java