Errata : OCA/OCP Java SE 8 Programmer Practice Tests - Chapter 17
posted 4 weeks ago
Chapter 7 , Q 14 has actually two correct answers B ) HH:mm and D) hh:mm
This also prints 02:33. The difference only is that h represents a 12-hour day and H represents a 24-hour day. Since , the time 02:33 can be there for both 12-hour and 24-hour clock when am/pm is not specified, both the options should be valid.