Thursday, May 1, 2008

Java Interview Questions I

1: What is the Collections API?
A: The Collections API is a set of classes and interfaces that support operations on collections of objects.

2: What is the List interface?
A: The List interface provides support for ordered collections of objects.

3: What is the Vector class?
A: The Vector class provides the capability to implement a growable array of objects.

4: What is an Iterator interface?
A: The Iterator interface is used to step through the elements of a Collection .

5: Which java.util classes and interfaces support event handling?
A: The EventObject class and the EventListener interface support event processing.

No comments:

Useful Information