What is Boxing?
Answers were Sorted based on User's Feedback
Answer / praveen
Converting from value type to reference type is called boxing
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / shobha
COnverting value type to object(reference) type is called
Boxing
Example :
int i=10;
object obj=i (Boxing)
i=(int)obj (Unboxing)
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / muhammad usman(lahore)
Boxing allowed the value type to be stored on the garbage
collected heap.
| Is This Answer Correct ? | 0 Yes | 2 No |
You are given some denominations of coins in an array (int denom[])and infinite supply of all of them. Given an amount (int amount), find the minimum number of coins required to get the exact amount. What is the method called?
What is the meaning of .(dot) in .NET framework?
Data structure used to impliment a menu:
What is Big-O notation?
What is the difference between procedure -oriented language and object oriented language?
22 Answers IBM, Infosys, TCS,
what is the difference between SCAN AND CHECK,LOKUP AND XFOOT? where we can use thease opcodes? Can any body tell me real time senariao with example?
Display names and numbers of employees who have 5 years or more experience and salary less than Rs.15000 using array of structures (name, number, experience and salary)
Wats the name of the first os
How to link calculator in oops concept? how is it working in oops concept? why dont u using in beginning of program 'z' in abap(sap)?
When we have two versions of the dot net installed how does the compiler know which version of DLL it has to select to an application.
Create a class TicTacToe that will enable you to write a complete program to play the game of Tic-Tac-Toe. The class contains as private data a 3- by-3 double array of integers. The constructor should initialize the empty board to all zeros. Allow two human players. Wherever the first player moves, place a 1 in the specified square; place a 2 wherever the second player moves. Each move must be to an empty square. After each move determine whether the game has been won and whether the game is a draw. If you feel ambitious, modify your program so that the computer makes the moves for one of the players automatically. Also, allow the player to specify whether he or she wants to go first or second. If you feel exceptionally ambitious, develop a program that will play three-dimensional Tic-Tac-Toe on a 4-by-4-by-4
Difference of Console, web & windows applications?