<code>Integer a = 200; Integer b = 200; a == b</code> is
- A
Always true
- B
Compile error
- Ccheck_circle
Often false (different Integer objects)
- D
Throws NPE
Explanation
For values outside the cache (typically -128 to 127), Integer literals create new objects; <code>==</code> compares references.