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 synchronization is important?
How to add panel to a Frame?
Write a program to find the greatest of three numbers in java?
List some important characteristics on jre
What are thread local variables?
What is getclass () getname () in java?
If try block is successfully executed, Then Is Finally block executed?
What is a treeset in java?
How do you set security in applets?
What are the important features of Java 9 release?
What is an anonymous class in java?
Which sorting algorithm is best in java?