What is boxing and unboxing?

Answer Posted / zeenat

Boxing:- Creating a Instance of a object and passing the
value of a variable to that object
dim x as integer
dim y as object
y = x - Boxing process

x = y - unboxing

Unboxing :- passing a value of a object to the varible

Is This Answer Correct ?    13 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What you mean by routing in asp.net mvc?

752


How we can multiple submit buttons in ASP.Net MVC

858


What are the 3 segments of the default route, that is present in an ASP.NET MVC application?

815


Which are the important namespaces used in mvc?

919


Is .net framework going away?

764


Explain the role of assembly in the .net framework.

782


What is the use of razor view engine?

729


How to update one of my table in database at 4pm every day how it is possible?

768


What is a model in android?

678


Is .net core replacing .net framework?

708


Why is the .net framework 3.0 a major version number of the .net framework if it uses the .net framework 2.0 runtime and compiler?

785


What is layout in mvc?

756


What is an asynchronous controller in asp.net mvc?

722


What is display mode in mvc?

761


How we can add the css in mvc?

793