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 convert string to byte array and vice versa?
What is unicode with example?
How to solve the problem of generating the unique hash keys with hash function?
What is math floor in java?
What are static methods?
difference between byte stream class and character stream class?
How do you sort data in java?
What is the difference between an interface and an abstract class?
What is better - 'bit-shift a value' or 'multiply by 2'?
How do you override a private method in java?
What is the static import?
Which of the following is not an isolation level in the JDBC
Why is a string immutable?
What is port number in java?
What is a methodologist?