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...

String[] a = new string[10]

for(i=0; i<10; i++)
{
a[i] = i;
}

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

Ans: 1, 10, 11, 12

Answer Posted / dennis

11.
1 for the String[]
and 1 for each individual "string" in the string array.(so total 10)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the single responsibility principle?

1025


What is your observations between vb.net and vc#.net?

1128


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

1141


Tell us what is the difference between struct and class?

1135


Explain what is an anonymous method and how is it different from a lambda expression?

966


How to produce an assembly?

1095


What are .net functions?

962


What is an anonymous method?

1109


What is Event - Delegate? clear syntax for writing a event delegate

2029


What is the difference between override and overload in a method?

1198


Do you know the difference between the stack and the heap?

998


What is boxing and un-boxing in .net?

1066


What are the similarities and difference between class and structure in .net?

1013


Explain the top .net class that everything is derived from?

1055


What is DTS and explain the purpose of it?

1083