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

1

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can achieve Connection pooling in .Net?

649


What is the concept of inheritance and how it works in .net?

544


How is threading done in .net?

561


Explain dataset.acceptchanges and dataadapter.update methods in .net?

563


What is the advantage of .net?

546






Tell us what is a variable of implicit type and what is its scope?

580


Sql Queries: A Table will be given Omiting Duplicate rows and adding a new column

1937


What is the use of system.diagnostics.process class in .net?

540


What is garbage collection and how it works ?

586


What are the new features in .net core?

553


What does jit do?

574


What is reflection in microsoft .net context?

579


What are the types of jit?

572


Explain what is the difference between response.redirect & server.transfer?

556


What is a strong name in .net?

596