Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
  • salvin francis
  • Frits Walraven
  • Piet Souris

Comment/clarification: Taking advantage of context clues

Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the OCP study guide you write under Study Tips > Taking advantage of context clues: can assume a question’ s code block will compile and run if “Does not compile” and “Throw an exception at runtime” are not available in the list of answers.

However, the available answers in the OCA/OCP Practice Tests book's, chapter 3, question 16 and question 38, both include "None of the above", and neither "Does not compile" nor "Throw an exception at runtime", while the explanation for "None of the above" being the correct answer (in both questions), is that the code does not compile.

Is it possible to get a "None of the above" when there is a compilation error in the exam? If yes, may I suggest that you reformulate the Study Tips in future revisions of the book?
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic