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 do you mean by access modifier?
What is singleton class example?
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?
What classes of exceptions, thrown by a throw statement?
How do you delete a list in java?
How does hashmap work in java ?
What is java reflection api?
is it possible to add a object in a HASHMAP
What is difference between core java and java ee?
How to sort an array from smallest to largest java?
steps to connect with Oracle Databse using TYPE-2 Jdbc driver.
How can two threads be made to communicate with each other?