Question: Assuming y is a value type, which is an example of boxing?

  1. y = (int)thisObject;
  2. int y = 3;
  3. y = (int)thisObject=;3;
  4. object thisObject = y;

Answer: The correct answer of the above question is Option D:object thisObject = y;