Answer Posted / javachi
Casting is nothing but data type conversion.
Up casting is the conversion of data type from lower range data type to higher data type eg: int to long, byte to long, int to double etc...
Down casting is vice versa of up casting, here we do type casting from larger value to lower value,
eg: double to byte, long to int etc
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What is the synonym of procedure?
What is == in java?
Difference between abstract and concrete class ?
Differences between traditional programming language and object oriented programming language?
Explain the use of sublass in a java program?
What is the best definition for data?
Why is string buffer better than string ?
Which programming language is most secure?
Are arrays primitive data types?
What are the 5 types of research methods?
Can a boolean be null java?
What is constructor chaining in java?
Is zero a positive integer?
what is instanceof operator used in java?
What are the 8 primitive data types in java?