Which of the following statements about interfaces is NOT true?
A) Interfaces can reduce the coupling between classes.
B) A class can implement only one interface type.
C) An interface cannot have instance variables.
D) Interfaces can make code more reusable.
Correct Answer:
Verified
Q1: Consider the following declarations: Q2: Which statement about methods in an interface Q4: Consider the following code snippet: Q5: Which of the following statements about interfaces Q6: Suppose you are writing an interface called Q7: Consider the definition of the Measurable interface Q8: Using the following definitions of the Measurable Q9: What type of edge does UML use Q10: A class that implements an interface must Q11: Consider the following code snippet:
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