Float class creates primitives that wrap themselves around data items of the float data type
public class MainClass { public static void main(String[] args) { float f = -29.6f; Float f2 = new Float(f); System.out.println(f2.floatValue()); } }