Which statement shows Boxing?

A) Dim O as object=I ( as i an integer)
B) Dim I as integer=O
C) Both

Showing Answers 1 - 7 of 7 Answers

cakes181286

  • Feb 15th, 2009
 

A

value Type -> Reference type --- Boxing
Reference type -> value type  --- Unboxing

ie assigning a value(int,double anything)  to an object is boxing
     reverse is unboxing

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions