Back to Browse

Learn Java Programming - Primitive Numeric Type Promotion Tutorial

1.0K views
Jul 13, 2015
11:29

When the arithmetic operators (+,-,*,/,%) are used in an expression, Java implements a feature called numeric promotion. You can mix or match any of the numeric primitive data types in an expression. This can cause a problem when it comes time to assign the resulting value of the expression to the target variable.

Download

0 formats

No download links available.

Learn Java Programming - Primitive Numeric Type Promotion Tutorial | NatokHD