Java Interview Questions On Utility Package |
1. What is the Collections API?
Answer
The Collections API is a set of classes and interfaces that support operations
on collections of objects.
|
2. What is the List interface?
Answer
The List interface provides support for ordered collections of objects. |
3. What is the Vector class?
Answer
The Vector class provides the capability to implement a growable array of
Objects
|
4. What is an Iterator interface?
Answer
The Iterator interface is used to step through the elements of a Collection. |
5. Which java.util classes and interfaces support event handling? Answer
The EventObject class and the EventListener interface support event processing. |
6. What is the GregorianCalendar class?
Answer
The GregorianCalendar provides support for traditional Western calendars. |
7. What is the Dictionary class?
Answer
The Dictionary class provides the capability to store key-value pairs. |
8. What is the SimpleTimeZone class?
Answer
The SimpleTimeZone class provides support for a Gregorian calendar. |