Why should java package name be lowercase?

Oleksii Kolotylenko picture Oleksii Kolotylenko · Sep 21, 2012 · Viewed 38.4k times · Source

Actually this is completely theoretic question. But it's interesting why java specification don't allow uppercase characters letters in package and cause write something like this:

com.mycompany.projname.core.remotefilesystemsynchronization.*

instead of

com.myCompanyName.projName.core.remoteFileSystemSynchronization.*

Answer

gtgaxiola picture gtgaxiola · Sep 21, 2012

Directly from Oracle Docs

Package names are written in all lower case to avoid conflict with the names of classes or interfaces.