Package Naming Convention

A typical case is when a package is added with a URL to prevent conflicts.

eg. com.example.helloworld

What do you do with multi-part TLD, for example? nz project?

  • co.nz.example.helloworld, or
  • nz.co.example.helloworld

Thoughts?

+4
source share
1 answer

The agreement is to write the domain name back, so it should be

nz.co.example.helloworld

This is explained in the Java lesson .

+8
source