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 / lavanya
10
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
As you know read-only variables and constants have many similarities, but what is at least one way that they differ?
what is machine key error in .NET how can we solve it?
Please explain what garbage collection is and how it works. Provide a code example of how you can enforce garbage collection in .net?
Tell about your technical profile ?
How to instantiate a delegate?
Explain the difference between managed and unmanaged code?
What are multicast delegates?
What is boxing and un-boxing in .net?
What is managed code execution?
What is the purpose of enumerable class in .net?
Is .net core installed?
Explain what are an object and a class?
Explain the difference between the stack and the heap?
Is there any inbuilt tool or command provided by .NET to view the code inside the assembly?
Explain how do assemblies find each other?