explain about casting of objects?

Answers were Sorted based on User's Feedback



explain about casting of objects?..

Answer / 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

explain about casting of objects?..

Answer / niranjanravi

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

explain about casting of objects?..

Answer / niranjanravi

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

explain about casting of objects?..

Answer / 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

explain about casting of objects?..

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

Post New Answer

More Core Java Interview Questions

Why synchronization is important?

0 Answers  


How to add panel to a Frame?

5 Answers  


Write a program to find the greatest of three numbers in java?

0 Answers  


List some important characteristics on jre

0 Answers  


What are thread local variables?

0 Answers  






What is getclass () getname () in java?

0 Answers  


If try block is successfully executed, Then Is Finally block executed?

0 Answers   PUCIT,


What is a treeset in java?

0 Answers  


How do you set security in applets?

1 Answers   Wipro,


What are the important features of Java 9 release?

0 Answers  


What is an anonymous class in java?

0 Answers  


Which sorting algorithm is best in java?

0 Answers  


Categories