Multiple choice technology programming languages

Casting from reference type to value or vice versa is called as

  1. Casting of variables

  2. Boxing/Unboxing

  3. Structure & Class conversion

  4. Stack & Heap Conversion

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Boxing converts a value type to a reference type (object), while unboxing converts a reference type back to a value type. These operations involve copying data between stack and heap memory.