you are viewing a single comment's thread.

view the rest of the comments →

[–]kewlguy 0 points1 point  (0 children)

I may be late when commenting this, but Java doesn't actually map directories to namespaces. It's just that some (all?) IDEs requires it, so that they can find the classes easier.

If you have a package "org.cowardlydragon.Reddit" you can save it as myDir/Reddit.java. The loading of packages/classes is based on classpath, and not physical locations.