• 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic