Under what circumstances an object reference be cast to an
interface reference?
Answer Posted / janet
When the object implements the referenced interface, an
object reference be cast to an interface reference.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what is use of functional interface in java 8?
Can classes declared using the abstract keyword cab be instantiated?
What are the advantages of compiled language?
Explain the importance of finally block in java?
What exactly is java?
Is Java a dying language?
Is minecraft java edition free?
Can we convert integer to string in java?
Explain what is encapsulation?
How do you escape json?
What does %4d mean in java?
Which collection does not allow duplicates in java?
Can we store variables in local blocks?
What do you understand by abstract classes?
Can we make a constructor final?