please tell me under what condition we should we use abstract classes
and main difference between interface and abstract classes
main differences b/w abstract classes and interface are:
1. methods in abstract class may have definations but methods in interface have only the prototypes.
2. variables in interface are final by default.
3.only an interface can extend other interface any class can extend an abstract class.