adplus-dvertising
frame-decoration

Question

Why is boxing needed?

a.

To check the object's type in runtime

b.

To duplicate the object in question

c.

To modify the object while it is in object form

d.

To free the heap block

Posted under Reverse Engineering

Answer: (a).To check the object's type in runtime Explanation:Boxing is needed so that a method can check the object's type in runtime.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Why is boxing needed?