define coercion in Java with example
Answers
Answered by
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
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
Math,
6 months ago
Math,
6 months ago
Chemistry,
6 months ago
Computer Science,
11 months ago
Hindi,
1 year ago