Computer Science, asked by aditi30016, 9 months ago

define coercion in Java with example ​

Answers

Answered by annu1401
7

Explanation:

7.2 Type Coercion. 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.

Answered by queen4bad
1

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.

Similar questions