• 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

Sybex OCA Java 8 Study Guide: Chapter 4 #7 Errata?

 
Ranch Hand
Posts: 499
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Especially when you don't know how many to select from Sybex OCA Java 8 Study Guide: Chapter 4 #7, I fully understand that C is correct (because it doesn't compile), but E uses C's bad reference to read an instance variable (and thus doesn't compile?), but E is considered the correct answer to compile?  In other words, have I made (somewhat of) a valid case for "Choose (4 or 5)" for this particular question?  
Sybex_Chapter_4_Number_7_Choose_X_Question.png
[Thumbnail for Sybex_Chapter_4_Number_7_Choose_X_Question.png]
 
Charles O'Leary
Ranch Hand
Posts: 499
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Correction: E is considered the incorrect answer because it compiles?
 
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

Charles O'Leary wrote:Correction: E is considered the incorrect answer because it compiles?


Correct. Compiler errors aren't transitive.
reply
    Bookmark Topic Watch Topic
  • New Topic