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
Is it possible to instantiate the abstract class?
How garbage collection is done in java?
What is complexity in java?
How do you check if a number is a perfect square?
How can we use primitive data types as objects?
What are the disadvantages of object oriented programming?
What is the default execution method in java?
Implement a stack with push (), pop() and min() in O(1) time.
What is the difference between static and global variables and also define what are volatile variables?
Is java call by value?
What is the use of arrays tostring () in java?
What kind of variables can a class consist?
What should I import for arraylist in java?
Define an enumeration?
What do you mean by constant time complexity?