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 |
Is it possible to specify multiple jndi names when deploying an ejb?
What is the difference between equals() and?
Is it possible to use Semaphore/ Mutex in an Interrupt Handler?
Why Java is not pure Object Oriented language?
What is the relationship between clipping and repainting under awt?
What is treeset in java collection?
If I have 1000 objects and my requirement is to sort them quickly, then which collection would you recommend and why?
What does sprintf return?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
Can bool be null?
Describe the syntax of multiple inheritance? When do we use such an inheritance?
Why hashset is used in java?