• Post Reply Bookmark Topic Watch Topic
  • New Topic

Semantic error in Round-Up Game

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The round-up game has informed me that an abstract method MUST be overridden (question #15).
However, if a method is abstract, there is nothing to override. Technically, this should be called implementing the method, no overriding it.
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Technically (and sematically), "overriding" is correct because you declare a method with the same signature in a subclass. The overriding method does implement the body of the abstract method, though.
I'd like you to read the Javaranch Naming Policy and change your publicly displayed name to comply with our unique rule. Thank you for your cooperation.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!