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 the public method modifier?
What is the exact difference in between Unicast and Multicast object? Where will it be used?
Can we sort set in java?
What is a variable in java?
What happens if constructor is private?
Explain thread in java?
How is string immutable in java?
What is getkey () in java?
What do you understand by java virtual machine?
Which variable is the independent variable?
What are generic methods?
Is arraylist an object in java?
What is difference between string and new string?
Should database connections be singleton?
Why put method is used?