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 equals and ==?
What is thread start?
What are singleton services?
Can static methods access instance variables in java?
What technique is carried out to find out if a particular string is empty?
What is the use of generics? When was it added to the Java development Kit?
Is Java a dying language?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
How is tree Mirroring implemented?
What is primitive data type in java?
What is anagram word?
What are java packages?
Is a class an object?
What are recursive functions? Give some examples?
What is difference between hashset and hashmap?