what is coercion in java ?
Answers
Answered by
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
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
Science,
8 months ago
English,
8 months ago
Sociology,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago