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

Explain about narrowing conversion in java?

0 Answers  


What is encapsulation? Elaborate with example?

1 Answers   BMC,


Can we convert stringbuilder to string in java?

0 Answers  


what is request processor?

1 Answers   Virtusa,


What is a deadlock ?

5 Answers  






What is an accessor?

1 Answers   BirlaSoft,


Why synchronization is important?

0 Answers  


Explain inner classes ?

0 Answers  


What is the nested interface?

0 Answers  


What is difference between jdk,jre and jvm?

0 Answers  


What is the difference between a window and a frame in java programming?

0 Answers  


Is hashmap thread safe?

0 Answers  


Categories