Question

Are there adverse effects of using uppercase letters in my package name? I know I should not do that, but I have already published an app with uppercase letters in the package name.

Should I change the package name to use only lowercase letters?

Was it helpful?

Solution

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

If you application runs with no problems, and you don't care much about best practice, then your fine.

But it is best practice to keep the naming of your packages all in lower cases. :-)

You can read more about this at Oracle's documentation on Java: http://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top