After reading the question Java packages com and org and answers, I am still curious:
- Is there some strict rule that I can use only
com
edu
andorg
? - And, is it bad idea to create package starting with something else than this?
Say, I am fro, Czech Republic and I own PavelJanicek
company, can I create package which would be imported like
import cz.paveljanicek.usable.awesomeutils;
edit: Since one of answers supposes it should be possible, can I apply it also to new domain TLDs?
example:
import berlin.berlincity.touristguide.api;