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

Verified
Correct Answer:
Verified
Q82: Which of the following correctly defines a
Q83: An _ belongs to a class whose
Q84: Consider the following code snippet which is
Q85: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q86: Suppose listener is an instance of a
Q88: Consider the definition of the Measurable interface
Q89: Which of the following statements about a
Q90: Using the given definition of the Measurable
Q91: Use the _ method to add a
Q92: Which of the following can potentially be