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
Explain what inheritance is, and why it's important?
How is meant by dll in .net?
What is the concept of inheritance in .net?
Explain Creational design pattern in .NET?
Can you create instance of a class which has private constructor?
What is lazy initialization?
Explain how garbage collection works?
Why SOAP is required?
Explain me what is the difference between an abstract class and an interface?
Will it go to finally block if there is no exception happened?
What is marshling?
What is the difference between response.redirect & server.transfer?
What does cil do?
What is cyclomatic complexity and why is it important?
What is class library in .net