• 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
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Errata for OCP: OCP Java SE 8 Programmer II Study Guide - Page 98 - Chapter 2, 10th Review Question  RSS feed

Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
10th question in Chapter 2 includes line numbers that mean all of them defined in a single file. One class or interface can be public and others have to be package private in the same file except inner classes. However in this case the file includes three public interface definition and none of them is inner. The question can be corrected by making two of them package-private or omitting line numbers in the question.  
author & internet detective
Posts: 39129
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to CodeRanch!  You are correct. I've added this to the errata.

Oracle no longer uses line numbers in this way on the exam so one less thing to watch for. You'll see line numbers marked with comments instead.
That's a very big dog. I think I want to go home now and hug this tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!