Multiple choice technology programming languages

A class may implement several interfaces but A class may extend only one abstract class

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In Java and similar object-oriented languages supporting single inheritance, a class can inherit from only one parent class (abstract or concrete) to avoid the diamond problem. However, it can implement multiple interfaces to achieve multiple inheritance of type, making the statement entirely true.