What is the default value for an uninitialized object reference (instance field)?
- A
Empty string
- Bcheck_circle
null
- C
false
- D
0
Explanation
Reference types default to <code>null</code>.
AP Computer Science A· difficulty 3/5
What is the default value for an uninitialized object reference (instance field)?
Empty string
null
false
0
Explanation
Reference types default to <code>null</code>.
Want 10 more like this — adaptive to your weak spots?