Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • 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:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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: 924
32
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!