Computer Science

Define Explicit type conversion with an example.

Values & Data Types Java

1 Like

Answer

In explicit type conversion, the data gets converted to a type as specified by the programmer. For example:

int a = 10;
double b = 25.5;
float c = (float)(a + b);

Answered By

1 Like


Related Questions