This is something straight from the ePractice exam that seemed a bit like a trick question, but let me make sure I've got the idea down right.
In the Heller and Roberts book "Complete Java 2 Study Guide, Fifth Edition" it says that final, when applied to a method, does not allow it to be overridden, so when I came across this question:
I would think that Book would cause a compilation error. However, Page.read () isn't an override, it's a reimplementation. If I removed the 'final' it would then become and override and then it would break. Is that correct? [ January 25, 2006: Message edited by: Brandon Tom ]
Brandon Tom, SCJP, MCP<br />Programmer/Graphic Designer<br /><a href="http://mailto:email@example.com" target="_blank" rel="nofollow">firstname.lastname@example.org</a>