Explain naming conventions for packages?



Explain naming conventions for packages?..

Answer / Prashant Gautam

Package names in Java follow a reverse domain-name hierarchy convention, with each major and minor domain name separated by dots (.). The package name is usually lowercase, and the package name of third-party libraries is often written in all uppercase letters. For example, java.lang is a standard package provided by Oracle.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Is it possible to specify multiple jndi names when deploying an ejb?

1 Answers  


What is the difference between equals() and?

1 Answers  


Is it possible to use Semaphore/ Mutex in an Interrupt Handler?

1 Answers   Ciena,


Why Java is not pure Object Oriented language?

1 Answers  


What is the relationship between clipping and repainting under awt?

1 Answers  


What is treeset in java collection?

1 Answers  


If I have 1000 objects and my requirement is to sort them quickly, then which collection would you recommend and why?

5 Answers   KPIT,


What does sprintf return?

1 Answers  


How will you calculate the depth of a binary tree if the tree contains 15 nodes?

1 Answers   Aricent,


Can bool be null?

1 Answers  


Describe the syntax of multiple inheritance? When do we use such an inheritance?

1 Answers   Fidelity,


Why hashset is used in java?

1 Answers  


Categories