Computer Science, asked by 36214700rai, 6 months ago

What is coercion?in java ​

Answers

Answered by AmbrishGupta7
0

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.

Answered by sweetqueen123
0

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. ... Or when data is set on a Tuple via TupleEntry.

hope it help you

Similar questions