Primitive-widening-conversions
Java primitive widening conversions [JLS14:5.1.2].
Subtopics
- Short-to-long
- Widening conversion from short to long [JLS14:5.1.2].
- Short-to-float
- Widening conversion from short to float [JLS14:5.1.2].
- Short-to-double
- Widening conversion from short to double [JLS14:5.1.2].
- Long-to-float
- Widening conversion from long to float [JLS14:5.1.2].
- Long-to-double
- Widening conversion from long to double [JLS14:5.1.2].
- Int-to-double
- Widening conversion from int to double [JLS14:5.1.2].
- Float-to-double
- Widening conversion from float to double [JLS14:5.1.2].
- Char-to-float
- Widening conversion from char to float [JLS14:5.1.2].
- Char-to-double
- Widening conversion from char to double [JLS14:5.1.2].
- Byte-to-float
- Widening conversion from byte to float [JLS14:5.1.2].
- Byte-to-double
- Widening conversion from byte to double [JLS14:5.1.2].
- Short-to-int
- Widening conversion from short to int [JLS14:5.1.2].
- Int-to-long
- Widening conversion from int to long [JLS14:5.1.2].
- Int-to-float
- Widening conversion from int to float [JLS14:5.1.2].
- Char-to-long
- Widening conversion from char to long [JLS14:5.1.2].
- Char-to-int
- Widening conversion from char to int [JLS14:5.1.2].
- Byte-to-short
- Widening conversion from byte to short [JLS14:5.1.2].
- Byte-to-long
- Widening conversion from byte to long [JLS14:5.1.2].
- Byte-to-int
- Widening conversion from byte to int [JLS14:5.1.2].