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 unicode with example?
Can a private method of a superclass be declared within a subclass?
how can we synchronize Hash map?
What is a finally block? Is there a case when finally will not execute?
Give the hierarchy of inputstream and outputstream classes.
What are disadvantages of java?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?
Is it possible to do method overloading and overriding at a time
How do you convert an int to a double in java?
explain multi-threading in java?
Why do we need singleton?
we cannot create an object of interface but we can create a variable of it