Java Data Type Tutorial - Java Float SIZE








Syntax

Float.SIZE has the following syntax.

public static final int SIZE

Example

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

public class Main {
  public static void main(String[] args) {
    System.out.println("SIZE:"+Float.SIZE);
  }
}

The code above generates the following result.