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 ? | 5 Yes | 2 No |
Post New Answer View All Answers
When will we prefer to use set and list in java and why?
Can one thread block the other thread?
Explain different ways of creating a thread. Which one would you prefer and why?
What is executor memory?
Explain about strings in java?
What are inbuilt functions?
What is anagram word?
What is final int?
What is the base class of all exception classes?
Why do we use string?
What are the types of inner classes (non-static nested class) used in java?
What is a nullable field?
Explain about the interpreter in java?
Are global variables initialized to zero?
Is list thread safe in java?