can anyone explain me abt abstract class with good example?
kalai
Niyas Ahmed Sheikh
Ranch Hand
Joined: Jun 15, 2005
Posts: 129
posted
0
Abstract class is a class will have abstract methods and non-abstarct methods may also.
If you want to use abstart methods, then the class should also be abstract.
Generally abstract methods will have declaration part only. It must be implemented by the subclass which extends it.
Ex:
Niyas Ahmed Sheikh
Ranch Hand
Joined: Jun 15, 2005
Posts: 129
posted
0
Sorry, in the last post I typed mistakenly. I bolded that one. It should be public void methodname(). Any method name, but not already used in the abstarct class.