Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 the Use of throws exception?

2 Answers  


Difference between a class and an object?

0 Answers  


I have a string like _a01_a02_a03_ and another string like _2_1.5_4_ as input.I want to extract a01,a02... to a string array and 2,1.5,etc to a double array with a01 corresponds to 2 and a02 to 1.5 etc. Need code in core java.. Can you do it?

1 Answers   Cognizant,


What is try-with-resources in java?

0 Answers  


Differentiate between nested and inner class in java.

0 Answers   Akamai Technologies,






Can a constructor be protected?

0 Answers  


Can we declare the main method of our class as private?

0 Answers  


What are the different approaches to implement a function to generate a random number?

0 Answers   Axtria, ITC Indian Tobacco Company,


Does java have a compiler?

0 Answers  


how an we achive multiple inhetitance in java using interface..??

2 Answers  


What are design patterns and please explain?

0 Answers  


What is the reason that multiple inheritance is not possible in java??

1 Answers  






Categories