Answer Posted / hr@tgksolutions.com
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 difference between throw and throws ?
What are the basic control structures?
Are arrays passed by reference in java?
What is the difference between a synchronized method and a synchronized block?
Explain jdk, jre and jvm?
Write a program to print the pattern given below
Can static methods be inherited?
What is the default size of arraylist in java?
What is the use of hashmap in java?
How would overload a function based on return type?
What is method overloading in java ?
Explain the JDB in depth & command line.
What do you mean by access modifier?
How static variable work in java?
what is enumset?