//The file name should always be identical to the class Name //if the class name is public class Main{ } //then the file name should be Main.java