今天发现的,在类名没有被声明为public的时候,sours code文件名和类名无关,都可以编译生成bytecode。不过我测试都是单个类的情况
the file name of the sourse file of Java could be diffrerent with the class name since there's no modifier before it :)
今天发现的,在类名没有被声明为public的时候,sours code文件名和类名无关,都可以编译生成bytecode。不过我测试都是单个类的情况
the file name of the sourse file of Java could be diffrerent with the class name since there's no modifier before it :)