Win a copy of Create an Uber Clone in 7 Days: Build a real world full stack mobile app in Java this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question/Errata for OCP: Oracle Certified Professional Java SE 8 Programmer II Study Guide  RSS feed

 
Ranch Hand
Posts: 44
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I just finished the first chapter and the review questions that come with it and have a problem with one question. In question 19, it seems to me that option D should not compile because an overridden method cannot be static in a subclass and non-static in its superclass. Nonetheless, the answer on page 549 seems to say otherwise.

Thanks for your answer.

Kind regards,
Guillaume
 
author & internet detective
Marshal
Posts: 38399
650
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guillaume,
You are correct. I've added this to the errata. Thanks for pointing it out!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!