Re: Where we use abstract class?
Posted By:
Anonymous
Posted On:
Wednesday, May 16, 2007 08:37 AM
when you need some default functionality/implentation along with some strict set of rules. what i mean to say is if you need to set some default methods the must need to be implemented in all the subclasses then go for abstract class.
like a Player must have a name so setting the name is the strict rule.