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
How to sort list of list in java?
What is meant by string is immutable?
What occurs when an object is constructed?
How to find the given number is a prime number or not by getting input from the user
Differentiate between class and structure.
What is string args [] in java?
What is use of super keyword?
Can private members of a base class are inheritable justify?
What is the main advantage of passing argument by reference?
What are 4 pillers of object orinted programming?
Is string a class?
What is a return in java?
What is the class in java?
What are multiple inheritances? Is it supported by java?
Is java free for businesses?