are type conversion and type casting in java same?
Answers
Answered by
1
Converting one primitive datatype into another is known as type casting (type conversion) in Java. You can cast the primitive datatypes in two ways namely, Widening and, Narrowing. In this case both datatypes should be compatible with each other.
Hope it helps you..........
Similar questions
Science,
4 months ago
Social Sciences,
4 months ago
Social Sciences,
9 months ago
Science,
9 months ago
Math,
1 year ago
Math,
1 year ago