The eight primitives defined in Java are int, byte, short, long, float, double, boolean and char . These aren’t considered objects and represent raw values.
The eight primitives defined in Java are int, byte, short, long, float, double, boolean and char . These aren’t considered objects and represent raw values.