Computer Science, asked by samie27, 9 months ago

what is coercion in java ?​

Answers

Answered by namrata6969
6

Answer:

Type coercion is a means to convert one data type to another. For example, parsing the Java String "42" to the Integer 42 would be coercion. Or more simply, converting a Long 42 to a Double 42.0. Cascading supports primitive type coercions natively through the cascading.tuple.coerce.Coercions class

Explanation:

please mark it as brainlist

Answered by VISHALKUMARV22
7

Answer:

Many programming languages support the conversion of a value into another of a different data type. This kind of type conversions can be implicitly or explicitly made. Implicit conversion, which is also called coercion, is automatically done. The C code below illustrates implicit and explicit coercion.

Similar questions