Object Oriented Programming·Inheritance·CoreInheriting from two parentsJava allows a class to implement several interfaces but extend only one class.Why the difference?ABecause implementing several interfaces is rarer than extending several classesBBecause interfaces carry no fields, so there is no question of duplicate stateCBecause interfaces cannot declare methods with the same nameDBecause extending two classes would make the class file too largeCheck answer