Is it possible to have an abstract class with all the methods as abstract methods?
It is possible. there is no problem as well.
It won't give any compile time error, but still it makes more sense if we can convert that into an interface as it contains only function signatures.
Compiler will give error, because if an abstract class contains all abstract methods, then it is mandatory to convert it to an interface.
all are true.
Back To Top