• 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

ocp11 complete e-book possible errata ch2 review question 12 p.75

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
12. Which of the following expressions, when inserted independently into the blank line, allow the code to compile? (Choose all that apply.)

A. 3_1
B. 1_329_.0
C. 3_13.0_
D. 5_291._2
E. 2_234.0_0
F. 9___6
G. _1_3_5_0
H. None of the above

Boyarsky, Jeanne. OCP Oracle Certified Professional Java SE 11 Developer Complete Study Guide (p. 75). Wiley. Kindle Edition.

answer indicates that inserting some of these values into the method parameter list will allow it to compile, I suspect the blank is misplaced.
I was not able to find this in the errata list yet.
 
Marshal
Posts: 72913
330
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you are correct; the blank space is misplaced.
 
author & internet detective
Posts: 40549
825
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
David,
It's right in the printed book and the file we sent to the publisher!

Is it possible to take a photo (or screenshot) of it on the kindle and either post it here or send it to me as a PM?
 
Greenhorn
Posts: 2
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:David,
Is it possible to take a photo (or screenshot) of it on the kindle and either post it here or send it to me as a PM?



I'm here for the same bug. Did you get a picture or do you still want one?

 
Jeanne Boyarsky
author & internet detective
Posts: 40549
825
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
I did not get a picture yet.
 
Campbell Ritchie
Marshal
Posts: 72913
330
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
AD: welcome to the Ranch
 
Andreas Döpke
Greenhorn
Posts: 2
1
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:I did not get a picture yet.



This is how it shows both in Android and desktop Windows Kindle App.

CR: Thank you!
Chap_2_Question_12.jpg
[Thumbnail for Chap_2_Question_12.jpg]
 
Jeanne Boyarsky
author & internet detective
Posts: 40549
825
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
Thank you for the screenshot. I've given you a cow for it.

Here's what it looks like in my printed book. Which matches the file we submitted including the final PDF page proofs.

I'll let the publisher know the Kindle rendering process broke the question. And log it in the errata as a kindle only problem. I suspect there is nothing the publisher can do though since it was right in the file they provided. But I needed the screenshot to at least attempt to do something.
print.jpg
[Thumbnail for print.jpg]
reply
    Bookmark Topic Watch Topic
  • New Topic