Which of the following does not complete the sentence correctly? An interface .
A) forces classes that implement it to declare all the interface methods.
B) can be used in place of an abstract class when there is no default implementation to inherit.
C) is declared in a file by itself and is saved in a file with the same name as the interface followed by the .java extension.
D) can be instantiated.
Correct Answer:
Verified
Q2: The UML distinguishes an interface from other
Q4: Every object in Java knows its own
Q5: Declaring a method final means:
A) it will
Q8: If the superclass contains only abstract method
Q10: Non-abstract classes are called _.
A) real classes.
B)
Q14: Which of the following could be used
Q19: It is a UML convention to denote
Q19: Which of the following statements about interfaces
Q21: A class that implements an interface but
Q27: Which of the following is not possible?
A)
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