What is the type conversion operator ( ) in Java and how to use it?
Answers
Answered by
0
In Java, there are two kinds of data types – primitives and references. Primitives include int, float, long, double etc. References can be of type classes, interfaces, arrays.
A value can change its type either implicitly or explicitly.
Implicit and Explicit changes:
There are situations in which the system itself changes the type of an expression implicitly based on some requirement.
Similar questions