char to double Java

After knowing primitive data types and Java rules of Data Type Casting (Type Conversion), let us cast char to double. The double takes 8 bytes of memory and char takes 2 bytes of memory. 2 bytes memory value can be assigned to 8 bytes value and is done implicitly by JVM. But the reverse operation, …

char to double Java Read More »