Online Java Compiler By
JavaTpoint.com
public class JavaByteFloatValueExample2 { public static void main(String[] args) { Byte byte1=Byte.MIN_VALUE; Byte byte2=Byte.MAX_VALUE;; System.out.println("1. "+byte1.floatValue()); System.out.println("2. "+byte2.floatValue()); } }
Output