I am confused if java.util is a package or a library.What is the difference between a package and library?
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.
...
The Java platform provides an enormous class library (a set of packages) suitable for use in your own applications. This library is known as the "Application Programming Interface", or "API" for short.
Related questions:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With