Answer Posted / niranjanravi
Casting betrween object references is to refer to a object
compatible by class or interface or array type reference.
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is an iterator interface in java programming?
What is a singleton class in Java?
What is the difference between procedural and object-oriented programs?
What is the properties class in java programming?
what is mutual exclusion? How can you take care of mutual exclusion using java threads? : Java thread
What is the significance of java packages?
What is charat ()?
Which is bigger float or double java?
What is data and its types?
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
What do you mean by static variable?
State the merge-sort principle and its time complexity.
Can inner class have constructor?
What does the “final” keyword mean in front of a variable? A method? A class?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?