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

What do you understand by the term string pool?

0 Answers  


What is a layout manager?

1 Answers  


How do I get 64 bit java?

0 Answers  


why java does not have operator overloading?

2 Answers  


What is assembly condition codes?

0 Answers  


What is the use of arraylist in java?

0 Answers  


Why are strings immutable in Java?

1 Answers  


Difference between nested and inner classes ?

0 Answers  


When does a class need a virtual destructor?

0 Answers   Flextronics,


What loop means?

0 Answers  


Is there any tag in htm to upload and download files?

0 Answers  


What is a bufferedreader?

0 Answers  


Categories