What is java.util package?



Share on Google+Share on Google+

Java Coder
What is java.util package?
1 Answer(s)      4 months and 8 days ago
Posted in : Java Beginners


I want to know about the util package in Java. What is java.util package? How its useful?


View Answers

April 13, 2017 at 11:10 AM


The java.util Package is very important package in Java as it contains frequently used data structured classes in Java.

If you see its name utility but its more than that, it has many classes (data structure) in Java which is used in handling and processing of many data formats in Java.

It contains following important classes:

  • Hashtable
  • Vector
  • Enumeration
  • StringTokenizer
  • EventObject
  • Locale
  • Calendar
  • TimeZone
  • ResourceBundle
  • ListResourceBundle and PropertyResourceBundle

We have huge collection of Java util package examples check all at Java Util Examples.