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
Explain aggregation in java?
When can you say a graph to be a tree?
What do you mean by access modifier?
When do we use synchronized blocks and advantages of using synchronized blocks?
Can we declare an interface as final?
Can inner class be public in java?
what is the difference between yielding and sleeping? : Java thread
What is difference between next () and nextline () in java?
Is static a singleton?
What is void in java?
What is the default value of local and global variables?
Why vector class is used?
Is static a keyword in java?
What are the two environment variables that must be set in order to run any java programs?
Which variables are stored in heap?