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
How to remove the trailing spaces from a string?
what is mutual exclusion? How can you take care of mutual exclusion using java threads? : Java thread
what is deadlock? : Java thread
What are access specifiers available in java?
Can you write a java class that could be used both as an applet as well as an application?
Is array a class?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
What is an empty string in css?
What is flag in java?
Can keyword be used as identifier?
In java, what is the difference between method overloading and method overriding?
How is hashset defined in java?
can rmi and corba based applications interact ?
What is general methodology?
what is collatration?