why to save the name of java program with the same main class name in case of public main class
<p>why is it necessary to save the name of java program with the main class name when that class is public, if the class is not public then we can save the program with any name and then can compile it. why in case of public main class we can not do that.?</p>
