Float.BYTES: This is available in java.lang.Float class of Java.
Syntax:
int java.lang.Float.BYTES
The number of bytes is used to represent a float value (i.e. 4).
Approach
Java
public class FloatBytes {public static void main(String[] args) {System.out.println(Float.BYTES);}}
Output:
4
No comments:
Post a Comment