Primitive Data Type: In Java, the primitive data types are the predefined data types of Java . They specify the size and type of any standard values. Java has 8 primitive data types namely byte, short, int, long, float, double, char and boolean.
What is a primitive type in Java?
Primitive Data Type: In Java, the primitive data types are the predefined data types of Java . They specify the size and type of any standard values. Java has 8 primitive data types namely byte, short, int, long, float, double, char and boolean.