3 ms·
In Java, primitives. int, boolean, float. Allocated on the stack, or the heap along with the object it is a part of.
by greesil 3y ago
In Java, primitives. int, boolean, float. Allocated on the stack, or the heap along with the object it is a part of.