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
Give the hierarchy of inputstream and outputstream classes.
If a variable is declared as private, where may the variable be accessed?
What is return used for in java?
What are benefits of java?
What's the base class of all exception classes?
Why local variables are stored in stack?
When is the finalize() called?
What are the high-level thread states in java programming?
difference between byte stream class and character stream class?
What is an object class?
How does linkedhashmap work in java?
Similarity and difference between static block and static method ?
What is the super void?
Is list ordered in java?
What is command line argument