Is java. util a package or library class?
Answers
Answered by
2
According to Java documentation,java.util is a package and part of Java class library: A package is a namespace that organizes a set of related classes and interfaces
Answered by
0
Hi Rishabh!
Here's your answer:
A package is a group of classes which a user has to import in his program to avail the facilities in it.
Java library class includes the Packages.
Hence, java.util is a package (a group of classes, popularly known as Scanner class) which is a member of Java library class.
THANKS!
Best of luck for your ICSE exam (23.03.2018)
Here's your answer:
A package is a group of classes which a user has to import in his program to avail the facilities in it.
Java library class includes the Packages.
Hence, java.util is a package (a group of classes, popularly known as Scanner class) which is a member of Java library class.
THANKS!
Best of luck for your ICSE exam (23.03.2018)
Similar questions