Double.SIZE in Java

Double.SIZE: This is available in java.lang.Double class of Java.

Syntax:

int java.lang.Double.SIZE

The number of bits is used to represent a double value (i.e. 64).

Approach

Java

public class DoubleSize {
    public static void main(String[] args) {

        System.out.println(Double.SIZE);

    }
}

Output:

64

No comments:

Post a Comment