Answer Posted / nashiinformaticssolutions
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 is immutable class in java?
What is nested class?
Explain the difference between an Interface and an Abstract class?
How is a structure different from array ?
What is a boolean structure?
Why does java not support pointers?
Why does java does not support multiple inheritance? Explain
Explain the difference between map and flatmap stream operation?
Why deletion in linkedlist is fast than arraylist?
Explain about OOPS concepts and fundamentals.
How do you check if two strings are equal in java?
What is the similarity between dynamic binding and linking?
What is composition in java?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
Where are local variables stored?