What is casting?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 the SimpleTimeZone class?
I want to persist data of objects for later use. What is the best approach to do so?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
What are the differences between abstract class and interface?
What defines function?
What is hashing principle in java?
How do I start learning java?
What's the difference between int and integer in java?
How java enabled high performance?
Is a char always 1 byte?
How infinite loop is declared?
How do you implement polymorphism in our day to day life?