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

Mock exam 3 - typo in question on methods overloading (Java OCA 8 Programmer I Study Guide, Sybex)

 
Artem Lovan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Answer C;D;E;F

C -> pollinate(1)) prints 3. That should be pollinate(1)
D -> pollinate(1)) prints 4. That should be again pollinate(1)
E -> pollinate("flower")) prints 5. That should be pollinate("flower")
F -> pollinate("flower")) prints 6. That should be pollinate("flower")
pollinate.png
[Thumbnail for pollinate.png]
 
Ganesh Patekar
Bartender
Posts: 696
23
Eclipse IDE Hibernate Java jQuery MySQL Database Netbeans IDE Oracle Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to CodeRanch!   Thank you for reporting but It is already added in OCAJP 8 errat list.
Click here --->OCAJP 8 erratas list and click here --->OCPJP 8 erratas list. You can refer these links If you think there is any errata in book, If that is not added in those list then you can inform here and If It is errata and not listed there then you will be credited for that by writing your name next to that errata in Reported by column.
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Artem Lovan,

First of all, a warm welcome to CodeRanch!

Artem Lovan wrote:Answer C;D;E;F

You are correct! In these options one closing paranthesis should be removed. This errata item was reported a year ago here and already added to the official errata overview of this study guide.

Hope it helps!
Kind regards,
Roel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic