Types 01 Flashcards
1
Q
What is the difference between a primitive and reference type?
A
Primitive types must always have a value and cannot be null.
Reference types are built on classes.
2
Q
• What are the 8 primitive data types?
A
boolean byte short char int long float double