Java Data Type Tutorial - Java Float TYPE








Syntax

Float.TYPE has the following syntax.

public static final Class <Float> TYPE

Example

In the following code shows how to use Float.TYPE field.

public class Main {

   public static void main(String[] args) {

   
     System.out.println(Float.TYPE);
   }
}

The code above generates the following result.