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 / shiva

1

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the Managed Execution Process?

2021


What is .net latest version?

554


Tell us what is the difference between struct and class?

496


Describe difference between inline and code-behind?

655


What is finalize method in .net?

608






Whate are resource files?

614


State the differences between the dispose() and finalize().

602


Explain the .net framework overview?

579


Please explain what garbage collection is and how it works. Provide a code example of how you can enforce garbage collection in .net?

552


What is clr in .net?

623


What is view state in .net?

617


What is static constructor, when it will be fired? And what is its use?

536


What is RPC? What is the use of it?

614


Explain .NET architecture?

628


What are the similarities and difference between class and structure in .net?

534