which is true? a. a class can implement only one interface b. a class can inherit from multiple classes c. an interface can implement multiple classes d. a class can implement multiple interfaces

Respuesta :

A class can implement multiple interfaces. So option (d) holds the correct answer which is "a class can implement multiple interfaces".

In Java, an interface is a reference type that is implemented by a class. All methods of an interface are defined in the class that implements the interface unless otherwise the class that implements the interface is defined to be abstract. The Java class offers the feature to implement more than one interface from a single class that reflects an effect of multiple inheritance.

Since the question asks in the context of Java programming language and the only correct answer is that a class in Java has the ability to implement multiple interfaces.

You can learn more about Java interfaces at

https://brainly.com/question/28481652

#SPJ4