Answer Posted / glibwaresoftsolutions
The benefits of defining packages in Java are numerous.
Name conflicts are avoided by packages.
The package makes access control simpler.
Additionally, we can have hidden classes that are utilized by the package but are not visible from the outside.
The linked classes are easy to find.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
When is the garbage collection used in Java?
What is substring in java?
How do you declare an array that will hold more than 64KB of data?
What is equlas() and hashcode() contract in java? Where does it used?
How the interruptible method gets implemented?
What does the “static” keyword mean? Can you override private or static method in java?
Is it possible to specify multiple jndi names when deploying an ejb?
How do you escape sequences in java?
What is flush buffer?
What is floating data type?
what is collatration?
What is the purpose of main function in java?
What are the Class Libraries ?
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?
What do negative exponents mean?