Destan Sarpkaya
Jun 19, 2018 · 1 min read

In Java you can use underscore ( _ ) in your package names and it conforms to Java naming conventions.

If the domain name contains a hyphen, or any other special character not allowed in an identifier (§3.8), convert it into an underscore. [1]

https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html

[1] https://docs.oracle.com/javase/specs/jls/se10/html/jls-6.html#jls-6.1 [see Naming Conventions section]

Kod Gemisi

Kod Gemisi

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade