what is numeric promotionnumeric promotion is the


What is numeric promotion?

Numeric promotion is the conversion of a smaller numeric type to a larger numeric type, so that integer and floating-point operations may take place. In numerical promotion, byte, char, and short values are changed to int values. The int values are also converted to long values, if essential. The long and float values are converted to double values, as required.

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: what is numeric promotionnumeric promotion is the
Reference No:- TGS0310936

Expected delivery within 24 Hours