Thursday, May 1, 2008

Java Interview Questions 2

6: What is the GregorianCalendar class?
A: The GregorianCalendar provides support for traditional Western calendars

7: What is the Locale class?
A: The Locale class is used to tailor program output to the conventions of a particular geographic, political, or cultural region .

8: What is the SimpleTimeZone class?
A: The SimpleTimeZone class provides support for a Gregorian calendar .

9: What is the Map interface?
A: The Map interface replaces the JDK 1.1 Dictionary class and is used associate keys with values.

10: What is the highest-level event class of the event-delegation model?
A: The java.util.EventObject class is the highest-level class in the event-delegation class hierarchy.

No comments:

Useful Information