Home » JAVA Programming » Date & Time » Question
  1. Which of this class can be used to format dates and times?
    1. SimpleDate
    2. DateFormat
    3. textFormat
    4. Date
    5. None of these
Correct Option: B

DateFormat is an abstract class that provides the ability to format and parse dates and times.



Your comments will be displayed only after manual approval.