Match conversion flow: 1. Prim: p. Raw value 2. Box: q. Heap alloc 3. Obj: r. Reference
- 1-p, 2-q, 3-r
- 1-p, 2-r, 3-q
- 1-q, 2-p, 3-r
- 1-r, 2-p, 3-q
Show answer and solution
Correct answer: A. 1-p, 2-q, 3-r
Boxing allocates a heap object to store a copy of the primitive value, returning an object reference.