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
What are thread groups?
What do you mean by compiler?
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
How would you use Bubble Sort to sort the number of elements?
Differentiate storage classes on the basis of their scope?
Why can't we make a class private in java?
What are thread local variables?
What is the applet security manager, and what does it provide?
Define "Access specifiers" in java.
what do you mean by classloader?
Differentiate jar and war files?
What are class members by default?
What is the difference between jdk, jre, and jvm?
How use .contains in java?
Explain what is Marker interface?