質問

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?

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top