Which of these method returns an instance of DateFormat that can format time information?
A. getTime()
B. getTimeInstance()
C. getTimeDateinstance()
D. getDateFormatinstance()
Answer:B
Which of these method returns an instance of DateFormat that can format time information?
A. getTime() B. getTimeInstance() C. getTimeDateinstance() D. getDateFormatinstance()
Explanation: getTimeInstance() method returns an instance of DateFormat that can format time information.