Tag: java char conversion

char to boolean Java

October 10, 2011 · 1 min read
###### The data type **boolean** is **incompatible** for converting into any other data type. That is, a boolean value cannot be converted (or assigned to) into any other data type like char, int, double etc. The maximum permitted is one boolean can be assigned to another boolean. char to boolean is not possible.

float to char Java

August 20, 2011 · 1 min read
##### After knowing [primitive data types](http://way2java.com/java-introduction/primitive-data-types/) and Java rules of [Data Type Casting (Type Conversion)](http://way2java.com/casting-operations/data-type-casting-type-conversion/), let us cast float to char.

double to char Java

July 1, 2011 · 1 min read
##### After knowing primitive data types and Java rules of [Data Type Casting (Type Conversion)](http://way2java.com/casting-operations/data-type-casting-type-conversion/), let us cast double to char.
← Prev
Page 3 of 4
Next →