explain about casting of objects?
Answers were Sorted based on User's Feedback
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 |
Casting betrween object references is to refer to a object
compatible by class or interface or array type reference.
| Is This Answer Correct ? | 8 Yes | 4 No |
Casting betrween object references is to refer to a object
compatible by class or interface or array type reference.
| Is This Answer Correct ? | 4 Yes | 1 No |
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 |
Answer / 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 |
why java not supproting multiple inheritance?
What is the tradeoff between using an unordered array versus an ordered array?
Difference between throw and throws?
What is double parsedouble in java?
Where is the find and replace?
How can we make sure main() is the last thread to finish in java program?
What are the types of methods in java?
What is the difference between throw and throws?
Is ruby built on java?
Why can't we use static class instead of singleton?
what is the difference between statis block and static variable
How do you get length in java?