Multiple Choice
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
Correct Answer:
Verified
Q24: The UML distinguishes an interface from other
Q25: Consider the abstract superclass below: <br>public abstract
Q26: Which of the following statements is false?<br>A)
Q27: Aclass that implements an interface but does
Q28: Every object in Java knows its own
Q30: Polymorphism allows for specifics to be dealt
Q31: All of the following methods are implicitly
Q32: Assigning a subclass reference to a superclass
Q33: Interfaces can have _methods.<br>A) 0<br>B) 1<br>C) 2<br>D)
Q34: Which of the following statements is false?<br>A)