Multiple Choice
Which of the following statements about interfaces is true?
A) You can define an interface variable that refers to an object of any class in the same package.
B) You cannot define a variable whose type is an interface.
C) You can instantiate an object from an interface class.
D) You can define an interface variable that refers to an object only if the object belongs to a class that implements the interface.
Correct Answer:

Verified
Correct Answer:
Verified
Q64: To use an interface, a class header
Q65: Consider the following code snippet: public class
Q66: To build a user interface that contains
Q67: Which statement about methods in an interface
Q68: Consider the following code snippet: public class
Q70: You wish to detect when the mouse
Q71: Which of the following statements about interfaces
Q72: Consider the following code snippet: public class
Q73: _ can reduce the coupling between classes.<br>A)
Q74: Which of the following statements about an