Question:
What is Boxing?
Answer:
Ans:
A) conversion of reference types to value types Source: CoolInterview.com
Boxing is conversion of value type to reference type. Unboxing is just opposite Source: CoolInterview.com
Answered by: haritha | Date: 11/26/2007
| Contact haritha
Boxing: Conversion of value types into reference types.
UnBoxing: Conversion of reference types into value types Source: CoolInterview.com
Answered by: suryaprakash | Date: 4/24/2009
| Contact suryaprakash
Boxing converts a value-type to a reference-type, thus storing the object on the heap. Unboxing converts a reference-type to a value-type, thus storing the value on the stack. Source: CoolInterview.com
Answered by: Sanket Pathre | Date: 7/9/2009
| Contact Sanket Pathre
converting datatype from valuetype to refrence type is boxing... unboxing is opposite of boxing. Source: CoolInterview.com
Answered by: honey | Date: 7/14/2009
| Contact honey
Boxing is conversion of value type to reference type. Unboxing is conversion of reference types to value types Source: CoolInterview.com
Answered by: Raghuvansh | Date: 7/23/2009
| Contact Raghuvansh
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|