top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What is boxing?

+1 vote
46 views
What is boxing?
posted Dec 1, 2014 by Roshan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

• When Value type is explicitly converted into reference type is called as boxing.
• The reverse process is known as unboxing, when reference type is explicitly converted into value type.
• In boxing process, the Values of variable is stored in Stack is converted in an object reference is stored in heap.
• If the recipient reference type is equivalent to the unboxed type, then the value is copied to the heap.
• Unboxing called the vice versa process of boxing.

answer Dec 1, 2014 by Manikandan J
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...