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

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

 
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]
 
Saloon Keeper
Posts: 1174
73
Eclipse IDE Hibernate jQuery MySQL Database 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.
 
Sheriff
Posts: 11338
177
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!