Q. Choose effective differences between ‘Boxing’ and ‘Unboxing’.

  • (A) ‘Boxing’ is the process of converting a value type to the reference type and ‘Unboxing’ is the process of converting reference to value type
  • (B) ‘Boxing’ is the process of converting a reference type to value type and ‘Unboxing’ is the process of converting value type to reference type
  • (C) In ‘Boxing’ we need explicit conversion and in ‘Unboxing’ we need implicit conversion
  • (D) Both ‘Boxing’ and ‘Unboxing’ we need implicit conversion
πŸ’¬ Discuss
βœ… Correct Answer: (A) ‘Boxing’ is the process of converting a value type to the reference type and ‘Unboxing’ is the process of converting reference to value type

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
315
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Babita
Publisher
πŸ“ˆ
99%
Success Rate