Home » JAVA Programming » Date & Time » Question
  1. Which of these class allows us to define our own formatting pattern for dates and time?
    1. UsersDateFormat
    2. ComplexDateFormat
    3. SimpleDateFormat
    4. DefinedDateFormat
    5. 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.



Your comments will be displayed only after manual approval.