If I have a domain name, for example, Dan-Carlos.com
Does the andoid package name allow use like com.dan-carlos.com?
I have not tried using it, but I am curious if anyone has tried a domain name with a hyphen '-' in it.
apply to my work years and some webpages such as this you should replace the "-" dash with the underscore "_".
if website: dan-carlos.com
package name: com.dan_carlos
According to docs :
Java . . ('A' 'Z'), ('_'). .
, , , , , "." "_".
, , '-' .
, → Android → ,
- ( ), (.) (_). , com.dan.carlos com.dan_carlos