This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Mock Exam Errata and the fly likes Semantic error in Round-Up Game Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "Semantic error in Round-Up Game" Watch "Semantic error in Round-Up Game" New topic
Author

Semantic error in Round-Up Game

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Aug 26, 2001
Posts: 7610
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.


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Semantic error in Round-Up Game
 
Similar Threads
Why the cow is sad?
Round Up Game
What does checled exception mean?
"JavaRanch Rule Round-up Game" for the SCWCD?
overiding abstract methods????