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
Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain
What do you mean by of string::valueof expression in java 8?
Can we store variables in local blocks?
What is a constructor overloading in java?
When does an object becomes eligible for garbage collection in java?
Why java doesn’t support multiple inheritances?
What's the access scope of protected access specifier?
What is a lightweight component?
What is time complexity java?
What is use of inner class in java?
Explain about interrupt() method of thread class ?
What are daemon Threads in java?
How do you end a program?
Why we used break and continue statement in java?
Is java code slower than native code?