Which of the following statements is correct about inheritance and interfaces?
A) A class can extend multiple classes and can implement multiple interfaces.
B) A class can extend at most one class and can implement at most one interface.
C) A class can extend multiple classes and can implement at most one interface.
D) A class can extend at most one class and can implement multiple interfaces.
Correct Answer:
Verified
Q11: Consider the following code snippet:
Q12: To use an interface, a class header
Q13: Consider the definition of the Measurable interface
Q14: In UML, a dotted arrow with a
Q15: Which of the following statements about an
Q17: Consider the definition of the Measurable interface
Q18: A method that has no implementation is
Q19: Which of the following statements about abstract
Q20: Which of the following statements about a
Q21: Assume a class extends another class and
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents