Solved

Which of the Following Statements About Interfaces Is True

Question 16

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents