I know, we can not instantiate either an interface or an abstract class in java except using anonymous class method but what is the reason behind it?
You can't instantiate interfaces or abstract classes because some of their methods might not have any definitions.