Solved

Which of the Following Statements About Interfaces Is True

Question 69

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions