News for hackers. Stuff that matters.
Re:Features of Project Loom incorporated in JDK 21 by vincnetas on Tuesday August 15, 2023 @03:03PM (#37137884)
you can put your classes in default package and source files in root dir "/Main.java", but as it stands most of industry/tools is following conventions that make life easier for people that need to maintain the code.

but yes namespaces must match directory structure.

There are no comments on this comment yet.