Answer Posted / rajesh
Casting can be applied to data types for like narrowing and
widening of primitive data types.
Casting can be applied for objects instantiated from the
inheritance hierarchy but only upward casting.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
Is empty set an element of empty set?
What is anagram of a string?
Give us the name of the list layoutmanagers in java?
What is the difference between logical data independence and physical data independence?
What carriage return means?
what is mena by object block any what is the use of that
How do you create a first line indent?
What is fail first in java?
What is deserialization?
What is output buffer?
Can substring create new object?
What is a dot notation?
Can we serialize singleton class?
What is java string pool?