byte to float Java

After knowing primitive data types and Java rules of Data Type Casting (Type Conversion), let us cast byte to float. The byte data type takes one byte of memory and float takes 4 bytes. Assigning 1 byte memory value to 4 bytes memory goes implicitly in Java. This is also known as implicit casting or …

byte to float Java Read More »