Basic and Advance Java Question:
Download Questions PDF

When can an object reference be cast to an interface reference in Java Programming?

Answer:

An object reference be cast to an interface reference when the object implements the referenced interface.

Download Java Interview Questions And Answers PDF

Previous QuestionNext Question
What is an object’s lock and which object’s have locks in Java Programming?What is the difference between a Window and a Frame in Java Programming?