• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Errata Chapter 17 Test 14 (OCA / OCP Practice Tests, Sybex)

 
Greenhorn
Posts: 8
1
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't find the "Errata for OCA / OCP Java SE 8 Programmer Practice Tests" thread.

Chapter 17 Test 14:

As well as HH:mm and hh:mm work:


ouputs :
hh:mm => 02:33
HH:mm => 02:33

It would be different with 15:33 :

ouputs :
hh:mm => 03:33
HH:mm => 15:33
 
Charles Lewis
Greenhorn
Posts: 8
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry I mean  (The SYBEX Book OCA / OCP Java SE 8 Programmer Practice Tests)
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Charles,
This forum is good for posting comments about the "second half" of the book. And the OCA forum for the OCA part of the book. We do have an errata list. It's short because either we wrote an almost perfect book or because the book came out recently so people haven't had time to report many yet .

I don't consider this particular question incorrect though. Oracle is very US focused when it comes to dates/times. Just like they make you learn how daylight savings time works in the United States, they assume a 12 hour clock. And to us 15:33 is called 2:33. The way the rest of the world operates with times is clearer, but here we are. As a result of this, Oracle doesn't ask about H as a formatting option. This also means on the real exam, they wouldn't be likely to give HH:mm as a choice in the first place. Also, on the bright side, this book simulates the style of the real exam where you know how many answers are correct. Which means if you are sitting there with an ambiguous questions about time, you can pick the one that makes sense with a 12 hour clock.

That said I made a note to say "using a 12 hour clock" if we do another edition of this book. And I'm giving you a cow for bringing it up.
 
Uh oh, we're definitely being carded. Here, show him this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic