Wednesday, 20 February 2013

can we have more then one classes in one java file

Answer is yes reason is because the jvm tool present in java makes the separate .class file for each class in which main is present after the compilation process and we can run each class separately

No comments:

Post a Comment