Originally posted by Naresh Nihalani:
Abstract class is declared to show the hierarchy only it doesn't any body defined and you can't instantiate an object of them.
For instantiating them you have to inherit the abstract class and overlaod its functions.
Naresh:
let me get this straight........
For instantiating them you have to inherit the abstract class and overlaod its functions I would not agree to this stmt. This is wrong, IMO.
We know abstract classes DONOT have any code, atleast for the abstract methods...you said that!
Having said that, you cannot say
overload.
IMO, the right
java terminology is to say
you implement them.
regds.
- satya
[This message has been edited by Madhav Lakkapragada (edited February 08, 2001).]
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81