Java Utility package is one of the most commonly used packages in the java program. The Utility Package of Java consist of the following components:
Here are some of the description of the utility classes of this package:Data Structure Classes
The Date class is used to manipulate calendar dates in a system-independent fashion.
This StringTokenizer class is used to convert a String of text into its tokens.
The properties table contains key/value pairs where both the key and the value are Strings and the class is used by the System class to implement System properties.
Observer and Observable
Classes that implement the Observer interface can "watch" Observable objects for state changes. When an Observable object changes it notifies all of its Observers of the change.
The Random Number Generator class is used to generate the random-numbers.
The Enumeration interface defines a generic programming interface for iterating through a set of values.
Liked it! Share this Tutorial