Java Program to demonstrate Float wrapper class

Program

import java.lang.Float;
public class javaLangFloatDemo
{
	public static void main (String[]args)
	{
		Float fObj = new Float(236.654);
		System.out.println ("Value of Float object : " + fObj);
	}
}

Output

Value of Float object : 236.654