Under what circumstances an object reference be cast to an
interface reference?
Answer Posted / debapriya maity
Exactly whenever ur entity passed the IS-A Test ,
A is B :)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between equals() and == in java?
Can final class have constructor?
When will we use them?
What are the data types supported by java? What is autoboxing and unboxing?
What is the difference between stored procedure & function?
What is difference between java and java ee?
Write code to implement bubble sort in java?
Can a class have a static inner class?
What’s meant by anonymous class?
Difference between ‘>>’ and ‘>>>’ operators in java?
What is slash r?
What is the difference between JDK and JVM?
What is a map? What are the implementations of map?
Can we have multiple catch block for a try block?
what is instanceof operator used in java?