2017-07-26 18 views
0

的命名約定通常是company.domain.inreverse.appname 有命名的包in.co.companyName.app.appNamecom.companyName.app.appName代替(其中公司實際互聯網域名是companyName.co.in)軟件包名稱的使用僅限於目錄結構和應用程序引用?

使用實際的公司域

因爲我錯誤地問的意義

那麼它會以任何方式影響我的應用程序和/或其與網站的關係?

回答

0

不,它不會。這個想法是給全球獨一無二的。

檢查此頁:https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions

The Java Language Specification establishes package naming conventions to avoid the possibility of two published packages having the same name. 

但要記住這一點:http://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html

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