Let\'s assume I have a file named Main.java with the following code:
public class Main { public static void main(String[] args) { System.out.prin
According to the JLS it's called:
7.4.2 Unnamed Packages A compilation unit that has no package declaration is part of an unnamed package.
7.4.2 Unnamed Packages
A compilation unit that has no package declaration is part of an unnamed package.