Question 1
Which of the following constants are the valid date and time format?
◦ DateFormat.LONG
◦ DateFormat.MEDIUM
◦ DateFormat.FULL
◦ DateFormat.SHORT
Question 2
Which of the following statements are true?
◦ You can obtain localizable date-time formatting data, such as the names of the months, the names of the days of the week, and the time zone data, from an instance of DateFormatSymbols.
◦ SimpleDateFormat enables you to choose any user-defined pattern for date and time formatting.
◦ DateFormatSymbols is a subclass of SimpleDateFormat.
◦ SimpleDateFormat is a subclass of DateFormat.