What is the use of abstract class?Please give me exact answer?
abstract Class:
1.we can't create an instance for the abstract class.
2.abstract class contains abstract methods and concrete methods.
3.Cannot declare abstract class as sealed.
4.a class which derived from abstract class must override all methods of abstract class.
This is what i said in interview.He asked one more question from the first point.we can't create an instance for that class then what is the use of that one?Why do i have to declare a method in abstract class.