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

Can we convert integer to string in java?

0 Answers  


What is java life cycle?

0 Answers  


What is entry in java?

0 Answers  


If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?

0 Answers  


What does jenkins do?

0 Answers  






How many bytes is a char in java?

0 Answers  


What do you know about the garbage collector in java?

0 Answers   TCS,


Is call by reference possible in java?

0 Answers  


What is Applet Stub Interface ?

0 Answers  


What is meant by JVM ?

6 Answers  


Is binary a low level language?

0 Answers  


give me the answer of this code class A extnds String This code we can write r not in Java? Explain?

4 Answers  


Categories