Which of the following does not complete the sentence correctly?
An interface _______________.
A) forces classes that implement it to declare all the abstract 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
Q23: Which of the following statements is false?
A)
Q24: Which of the following statements is false?
A)
Q25: Which of the following statements is false?
A)
Q26: Aclass that implements an interface but does
Q27: Which of the following is not possible?
A)
Q29: Which of the following statements is false?
A)
Q30: The UML distinguishes an interface from other
Q31: Which of the following statements is false?
A)
Q32: Interfaces can have _methods.
A) 0
B) 1
C) 2
D)
Q33: Which keyword is used to specify that
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