What is boxing and how it is done internally?

Answer Posted / sesu

Boxing is the conversion value type to ref. type.

int i=5 -- value type
Object obj; -- Referance type
obj=i; -- Boxing


int j =(int) obj -- Unboxing

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the extension of a compiled help project file?

662


Can you create a tabletype of recordset in Jet - connected ODBC dbengine?

1948


Name the property which of menu cannot be set at run time?

742


Which window allows viewing the resources of the servers, such as services, processes and the event log?

684


how barcode print on the win form

2088






What are controls in windows forms?

618


What is the difference between the add() and insert() methods of a listbox control?

665


What is difference between winforms and windows forms?

673


How to use the FindControl() function to preselect an item in my dropdownlist?

1791


Explain how to get records from a database?

746


Explain how to net forms the windows?

655


Is form action required?

596


how see report periviwe

2414


Is windows an application software?

619


Explain how insert record in the database?

701