• 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
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

Study Guide chapter 1 review questions - question 6

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Doing the review questions, I think the answer is missing the 'distance' variable, is it?

Thanks
 
Marshal
Posts: 78698
374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch

Please supply more information; we don't all have the book. Is it Boyarsky and Selikoff? Which edition? I can't tell you anything useful because I don't what the question says.
 
Marshal
Posts: 8831
631
Mac OS X VI Editor BSD Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:Please supply more information


Indeed.

@OP
I have Study Guide books for OCA and OCP (thanks to Jeanne), but those are for Java 8. Chapter 1, review question 6 looks intact to me, but it doesn't talk about any "distance".

Not even clear to me whether you suggest it is an errata or your guess as correct answer for aforementioned review question.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Marina Gil wrote:Hi,

Doing the review questions, I think the answer is missing the 'distance' variable, is it?

Thanks



Hello, Marina.

I've made the same question 4 months ago here: https://coderanch.com/t/773705/certification/OCP-Java-SE-Developer-Study.

And, yes, the answer at the end of the book is incomplete, since is missing the variable distance.

Welcome to Code Ranch!
 
I’m tired of walking, and will rest for a minute and grow some wheels. This is the promise of 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