-
Which of these class allows us to define our own formatting pattern for dates and time?
-
- UsersDateFormat
- ComplexDateFormat
- SimpleDateFormat
- DefinedDateFormat
- None of these
Correct Option: C
The DateFormat is a concrete subclass of DateFormat. It allows you to define your own formatting patterns that are used to display date and time information.