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

What does jit compilation do in .net?

1107


Explain what inheritance is, and why it's important?

1032


Explain Creational design pattern in .NET?

1144


What is common type system (cts)?

1044


What are nullable types in .NET

1217


What are Attributes in .NET?

1119


How can you assign an rgb color to a system.drawing.color object?

1020


Explain the difference between task and thread in .net?

1034


When we go for html server controls and when we go for web server controls?

1208


What is difference between .net and .net core?

1054


How to implement CAS in .Net?

2902


What is namespaces in .net?

1213


What are .net functions?

1014


I want to serialize instances of my class. Should I use xmlserializer, soapformatter or binaryformatter?

1114


What is SOAP? How you will do windows and forms authentication?

1214