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
What is the use com component in .net?
Explain difference between panel and groupbox classes using .net?
Is there built-in support for tracing?
Explain about .Net products?
Explain how viewstate is being formed and how it's stored on client in .net?
Explain About GDI object ?
How to create multiple inheritance in c#, with example?
What is the difference between server.transfer and response.redirect? Why?
Is there any inbuilt tool or command provided by .NET to view the code inside the assembly?
What does jit do?
What is Polymorphism? How does VB.NET/C# achieve polymorphism?
What is different between webusercontrol and in webcustomcontrol?
Is there built-in support for logging?
Do you know what is .net standard?
I was working for software company frm 2005 to 2009. I left job due to recession.I was jobless till dec 09 then i got job in bpo and i am not knowing what to do as my professional experience is with software.give me any suggestion.