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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / suresh
ANS:11
VALUES ARE STORED IN ARRAY FROM 0.HERE STRING[].
HERE TOTAL I VALUE IS 10 AND IT IS STORED IN ARRAY INCLUDING
STARTING POINT.SO 10+1=11.SO
| Is This Answer Correct ? | 1 Yes | 2 No |
Explain me what is the difference between a class and an object, and how do these terms relate to each other?
What are possible implementations of distributed applications in .NET?
How can you clean up objects holding resources from within the code?
What are the fundamental objects in ADO.NET?
What is managed code execution?
What is the transport protocol you use to call a seb service soap?
State the various features present in .NET?
What does cli do?
Difference between class and interface in .net?
Can u any body send the DotNet Interview questions and answers to my mail please....... mindukuru@yahoo.com
How many types of design patterns available in .NET?
Do you know what is .net standard?