Which of these formatting strings of SimpleDateFormat class is used to print AM or PM in time?
(a) a
(b) b
(c) c
(d) d
I got this question in class test.
The doubt is from Text Formatting in section Regular Expressions of Java
Select the correct answer from above options