Which of the following statements about inheritance is correct?
D.
While Java does not allow a class to extend more than one class, it does allow a class to implement any number of interfaces.
Multiple inheritance is, therefore, only allowed via interfaces, making Option D the correct answer.