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
Which is bigger float or double java?
What’s the difference between constructors and other methods?
What do you mean by constant time complexity?
What is a boolean output?
Difference between static binding and dynamic binding?
What is class and object in java?
What is the maximum size of array in java?
What is illegal identifier in java?
Why java is platform independent? Explain.
How can you generate random numbers in java?
Explain exception chaining in java?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
What are the two ways of implementing multi-threading in java?
What is the use of keywords in java?
What is complexity in java?