Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

DateTime[] dt = new DateTime[10]

for(i=0; i<10; i++)
{
dt[i] = DateTime(2008, 1, i+1)
}

How many heap object will be created for the above array.
Choose the correct answer below.

Ans: 1, 10, 11, 12

Answer Posted / garima kurmi

Correct answer is 1.As the heap is a pointer and stores the
type of the object not the value.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the difference between inline and code behind which is best in a loosely coupled solution?

2801


Please explain what do the terms “boxing” and “unboxing” mean?

1009


If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?

929


What is the use of activex control in .net?

1040


Write Code for DataSet,Datareader,and by deleting the button gridview should be empty?

2187


What is value type and refernce type in .net?

1060


Please explain what are an inheritance, polymorphism, and encapsulation?

1088


What is implement a generic action in webapi?

1239


What is "common language specification" (cls) in .net?

992


Explain how to produce an assembly?

997


How can I find out what the garbage collector is doing?

982


Which file is taken by compiler when we have both file Application and Server Configuration file?

2112


Explain .NET architecture?

1115


What are the new 2.0 features useful for?

1188


What are the namespace available in .net?

1122