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 is predicate in java?
Explain the polymorphism principle?
Can we declare a constructor as final?
Explain about anonymous inner classes in java?
What is a jit compiler?
What is the meaning of flag day?
Why charat is used in java?
How to sort array of 0 and 1 in java?
What are the three types of design patterns?
Do you need to import math in java?
Write a method that will remove given character from the string?
Can you inherit from an abstract class java?
What variables are stored in stack?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
What is the difference between the prefix and postfix forms of the ++ operator?