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
Do I have any control over the garbage collection algorithm?
What is il and c#?
Tell us what is the native image generator?
What do you mean by Driver Script?
What are virtual destructures?
What is a formatter in .net?
Is Driver Script any how related to AOM?
What is connection pooling and how do you make your application use it?
What is Ajax design pattern in .NET?
Explain me what is a design pattern and what is it for?
Explain what are an object and a class?
Is .net front end or backend?
object is physical and class is logical..here class is not occupying any memory as our definition of class but i got a question then the class where it stores if it is not occupying any memory....
Describe the programming model of a windows service
What is the use of gacutil.exe?