The java.util package:
Throughout this unit, we will focus our attention on one of the most useful and easy-to- understand libraries of classes: the Java utility package java.util. This package consists of a number of utility classes, which provide data structures and other facilities, including the following.
- The Java Collections Framework, first introduced with Java 2, is used for storing and managing objects of any Java type. It includes classes such as LinkedList, ArrayList, HashSet, TreeSet, HashMap and TreeMap. These names may sound a little strange and unfamiliar but together with some other useful concepts, such as iterators, they provide very useful and fiexible functionality. We shall discuss them further in later sections.
- 'Legacy' collection classes implement various simple data structures and were the only standard collection classes available in versions of Java prior to Java 2. These include the Vector, Hashtable, Properties, Dictionary, Stack and BitSet classes. We distinguish them here because in some ways they work a little differently to the Java 2 collection classes. They are widely used in older Java software, so it is useful to know about them. However, they are not recommended for use in new programs - you should use the Java 2 collection classes instead.
- The Calendar class and its subclass GregorianCalendar implement dates in a variety of representations.
- The StringTokenizer class is useful for processing text input.
- The Random class implements methods used for the generation of random numbers.
Java Assignment Help - Java Homework Help
Struggling with java programming language? Are you not finding solution for your The java.util package homework and assignments? Live The java.util package experts are working for students by solving their doubts & questions during their course studies and training program. We at Expertsmind.com offer The java.util package homework help, java assignment help and The java.util package projects help anytime from anywhere for 24x7 hours. Computer science programming assignments help making life easy for students.
Why Expertsmind for assignment help
- Higher degree holder and experienced experts network
- Punctuality and responsibility of work
- Quality solution with 100% plagiarism free answers
- Time on Delivery
- Privacy of information and details
- Excellence in solving java programming language queries in excels and word format.
- Best tutoring assistance 24x7 hours