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

How would you convert bytes to string?

0 Answers  


What do you mean by exception handling in Java?

0 Answers   Atos Origin,


What is the difference between length and size in java?

0 Answers  


How to create an instance of a class without using "new" operator? Plz help me out properly.Thank u.

10 Answers   CSC,


What sorting algorithm does javascript use?

0 Answers  






which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com

0 Answers   IBM,


How do you check whether the list is empty or not in java?

0 Answers  


what is the diff between Servletcontext and servletconfig?

5 Answers  


What is the most important feature of java? What is an interface?

0 Answers  


what is mutual exclusion? How can you take care of mutual exclusion using java threads? : Java thread

0 Answers  


Explain the features of interfaces in java?

0 Answers  


What is skeleton and stub? What is the purpose of those?

0 Answers  


Categories