初学java的时候会有疑惑,why only 1 public class in java file?
因为他说过:To allow the compiler found easily the class definition.
为了编译器能够轻松地找到类的定义(方便通过查找文件名来找类名)。
初学java的时候会有疑惑,why only 1 public class in java file?
因为他说过:To allow the compiler found easily the class definition.
为了编译器能够轻松地找到类的定义(方便通过查找文件名来找类名)。