• 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • 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

 
Greenhorn
Posts: 15
3
  • 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
723
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Onur,
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
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!