What is casting?

Answers were Sorted based on User's Feedback



What is casting?..

Answer / niranjanravi

casting is used to convert the value of one data type to
another.We have 2 different types of castings.
1.Casting between primitive numeric data types
2.Casting between object references.

Is This Answer Correct ?    3 Yes 0 No

What is casting?..

Answer / sarojlaxmi

Casting is the process of converting one primitive data
type to another primitive datatype that is called casting.

Is This Answer Correct ?    1 Yes 0 No

What is casting?..

Answer / ravikiran(aptech mumbai)

casting is the process that allows lowerdatatype to hold the
data of higher data type

Is This Answer Correct ?    1 Yes 0 No

What is casting?..

Answer / sandeep sagala

casting is the process that allows lower data type to hold the
data of higher data type and also the higher data type to
hold the lower data type only by using reference

Is This Answer Correct ?    0 Yes 0 No

What is casting?..

Answer / sandeep

casting is technique by which we can solve widening problems
casting is two type
1. implicit type casting
2. explicit type casting

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

what is dynamic method dispatch ?

27 Answers   Fidelity, MUET, SDSF,


Can It is possible to synchronize the constructor of a Java Class?

0 Answers  


How Marker Interfaces are instruct to complete the desired need ?

2 Answers  


What is garbage collection? What is the process that is responsible for doing that in java?

0 Answers  


How do you declare a string variable?

0 Answers  






where the static methods will live ,on stack ? can you explain brefly

1 Answers  


What are the restrictions imposed on method overriding?

0 Answers  


What state does a thread enter when it terminates its processing in java programming?

0 Answers  


When you say String is immutable, what do you mean by that? Say I have String s = "Ness" s= s+"Technologies"; What will happen? If the value gets appended, then what is the meaning of immutable here?

5 Answers   Ness Technologies,


Name few java util classes introduced with java 8 ?

0 Answers  


what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

0 Answers  


What is method and methodology?

0 Answers  


Categories