Asked by
ankit gupta
in
Computers & Technology
at
5:57 PM on November 27, 2008
Kamlesh B's Answer
An Abstract class is a way to organize inheritance, sometimes it makes no since to implement every method in a class (i.e. a predator class), it may implement some to pass to its children but some methods cannot be implemented without knowing what the class will do. Therefore, abstract classes are templates for future specific classes.
A disadvantage is that abstract classes cannot be instantiated, but most of the time it is logical not to create a object of an abstract class.
Answered at
7:22 PM on November 27, 2008
Read all answers