Which of the following statements are true? Select the two correct answers. (a) In Java, the extends

Question:

Which of the following statements are true?

Select the two correct answers.

(a) In Java, the extends clause is used to specify the inheritance relationship.

(b) The subclass of a non-abstract class can be declared as abstract.

(c) All members of the superclass are inherited by the subclass.

(d) A final class can be abstract.

(e) A class in which all the members are declared private cannot be declared as public.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: