No, sorry, I sort of trampled on you there didn't I? I didn't really mean it to come out that way. It's just that some ways of looking at things make the rules (or absence of rules) obvious and others don't.
Francisco Montes, What is the important of that abstract class here? I think, there s no valuable important of that abstract class AbsS in that hierarchy, rather than making a chain.,
|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
Joined: Sep 30, 2009
I was just pointing out that i never saw a concrete method being overriding by an abstract version of it. Is basically like "emptying" the concrete method and force any subclasses to implement it again. I thought that was illegal and turned out it wasn´t, that´s all.
That's true, but when you realize that most abstract classes extend Object -- which is a concrete class -- that observation suddenly becomes less interesting.
Touché Paul hehe
Joined: Jan 09, 2008
Maybe it could be used to patch a bad design; to disable a poorly
implemented method. Or when a signature is too good to give
up, but future implementations must be radically different than
what was done before . . . Further thoughts?