Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Errata on chapter 1 pag 6? (Java OCA 8 Programmer I Study Guide)

 
Massimo Da Ros
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

at the end of the page 6 (chapter 1)

the phrase "Each file can contain only one class" should be "Each file can contain only one public class"

Regards.
Massimo
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Massimo Da Ros,

First of all, a warm welcome to CodeRanch!

Massimo Da Ros wrote:the phrase "Each file can contain only one class" should be "Each file can contain only one public class"

That's true! But before the list, it's clearly stated that To keep things simple for now, we'll follow a subset of rules. So because access modifiers are not mentioned at this point in the study guide, it could be intended to not mention the concept of "public class" at this moment yet.

Hope it helps!
Kind regards,
Roel
 
Massimo Da Ros
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Roel,

thank you for your answer.

Kind regards.
Massimo
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic