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

Tell us the difference between managed and unmanaged code?

961


Which Namespace is used to to achieve MultiThreading in .NET?

1039


What is COM Interoperability in .NET

1029


What is a serviced component?

960


What is func in .net 3.5?

955


What are the core differences between .NET Languages ?

2294


How to view a .NET assembly?

987


Is there built-in support for logging?

1016


Do you know what are three common acronyms used in .net, and what do they stand for?

968


What is .net and .net framework?

1046


What makes .net core cross platform?

945


What is the concept of inheritance and how it works in .net?

957


What is data type and how many types of data types are in .NET ?

1017


Explain how does assembly versioning work?

974


What is .net3.5?

995