Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6856005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:49:49+00:00 2026-05-27T01:49:49+00:00

Possible Duplicate: what is the convention for word separator in java package names? I

  • 0

Possible Duplicate:
what is the convention for word separator in java package names?

I wonder if there are some code convension for package name which contains several words. E.g. package name com.dreamcom.objectInterfaces. Is camel case suitable in this case?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T01:49:49+00:00Added an answer on May 27, 2026 at 1:49 am

    From Java package naming conventions @ Wikipedia (emphasis added):

    Packages are usually defined using a hierarchical naming pattern, with
    levels in the hierarchy separated by periods (.) (pronounced “dot”).
    Although packages lower in the naming hierarchy are often referred to
    as “subpackages” of the corresponding packages higher in the
    hierarchy, there is almost no semantic relationship between packages.
    The Java Language Specification establishes package naming conventions
    to avoid the possibility of two published packages having the same
    name. The naming conventions describe how to create unique package
    names, so that packages that are widely distributed will have unique
    namespaces. This allows packages to be separately, easily and
    automatically installed and catalogued.

    In general, a package name begins with the top level domain name of
    the organization and then the organization’s domain and then any
    subdomains, listed in reverse order. The organization can then choose
    a specific name for its package. Package names should be all lowercase
    characters whenever possible.

    For example, if an organization in Canada called MySoft creates a
    package to deal with fractions, naming the package ca.mysoft.fractions
    distinguishes the fractions package from another similar package
    created by another company. If a German company named MySoft also
    creates a fractions package, but names it de.mysoft.fractions, then
    the classes in these two packages are defined in a unique and separate
    namespace.

    Complete conventions for disambiguating package names and rules for
    naming packages when the Internet domain name cannot be directly used
    as a package name are described in section 7.7 of the Java Language
    Specification.


    See also:

    • The Java Language Specification §7.7 Unique Package Names
    • Do you really use your reverse domain for package naming in java?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Java Naming Convention with Acronyms Is it getXml() or getXML()? Is there
Possible Duplicate: Naming Boolean columns in Rails What is the rails convention regarding names
Possible Duplicate: Java socket sends some data during connection to server I have two
Possible Duplicate: Which style of Ruby string quoting do you favour? Is there a
Possible Duplicates: Where/what level should logging code go? Debug Levels Is there a convention,
Possible Duplicate: Java - when to use 'this' keyword Is it generally good convention
Possible Duplicate: NAnt or MSBuild, which one to choose and when? What is the
Possible Duplicate: How do you send email from a Java app using Gmail? How
Possible Duplicate: Pre & post increment operator behavior in C, C++, Java, & C#
Possible Duplicates: Using “Base” in a Class Name C# Class naming convention: Is it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.