Java uses the dot (.) separator to distinguish between package names and subpackages (e.g., java.util.Vector). Commas are used for separating imports in import statements or declarations, not for package hierarchy. The standard notation is package.subpackage.ClassName.