quiz 1b Flashcards
1
Q
primitive type examples
A
boolean, char, byte, short, int, float, long, double
1
Q
reference type examples
A
String, Array, etc
2
Q
primitive type
A
object is a copy of the data (primatives are immutable)
3
Q
reference type
A
a reference to the object is stored (not a copy) (mutable except for strings)
4
Q
stack
A
where primitive and method calls are stored
5
Q
heap
A
where reference types are stored
6
Q
==
A
compares data of primitives or the memory address of reference types
7
Q
.equals()
A
compares data of reference types
8
Q
A