Win a copy of Fixing your Scrum this week in the Agile forum!
  • 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
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Sybex 815 - potential error - chapter 1

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
book: Oracle Certified Professional Java SE 11 Programmer I Study Guide Exam 1Z0-815

chapter: 1, Review Question #7

7. Given the following classes, which of the following snippets can
independently be inserted in place of INSERT IMPORTS HERE and
have the code compile? (Choose all that apply.)
package aquarium;
public class Water {
boolean salty = false;
}
package aquarium.jellies;
public class Water {
boolean salty = true;
}
package employee;
INSERT IMPORTS HERE
public class WaterFiller {
Water water;
}
A. import aquarium.*;
B. import aquarium.Water;
import aquarium.jellies.*;
A. import aquarium.*;
import aquarium.jellies.Water;
A. import aquarium.*;
import aquarium.jellies.*;
A. import aquarium.Water;
import aquarium.jellies.Water;
A. None of these imports can make the code compile.



Too many answers A , or it is a problem on my side?
 
Master Rancher
Posts: 1011
28
Eclipse IDE Postgres Database C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My paper book, printed in 2020 (the two volume version) has the correct labels for choices, that is: A. B. C. D. E. F.

The authors don't have direct control over the Kindle formats, if I recall correctly, but can still report things...

In which format are your reading the material?
 
There's a way to do it better - find it. -Edison. A better tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic