Vidyalelo
Java Programming · Q32

Inheritence

Programming · Java Programming · question 32

Q32

Which of the following is true? 1. A class can extend more than one class. 2. A class can extend only one class but many interfaces. 3. An interface can extend many interfaces. 4. An interface can implement many interfaces. 5. A class can extend one class and implement many interfaces.

A.
1 and 2
B.
2 and 4
C.
3 and 5
Answer
D.
3 and 4
E.
2 and 5

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board