Widening Conversion in Java
Widening Conversion Implicit Casting
Syntax
No notation required
Why?
Moving to larger primitive types - does not loose any information.
int a = 34;
float b = a;
double c = b;
Widening Conversion Implicit Casting
No notation required
Why?
Moving to larger primitive types - does not loose any information.
int a = 34;
float b = a;
double c = b;