The anser given is that the code compiles and gives the output. I read some where that the class which extends an abstract class should aslo be abstract.Is that rite?Can anybody explain pl!Thanks
Hi Software_guy No, it's wrong. A class that extends an abstract class can be abstract or non-abstract. It can be non-abstract if it implements all of its parent's abstract methods and doesn't have its own abstract methods.