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


Please Help Members By Posting Answers For Below Questions

What is .net and .net framework?

625


What are the differences between an interface and an abstract class in .net?

526


Why do we use the “using” statement?

544


What are data types in .NET?

663


What operating systems does the .net framework run on?

560






What is a strong name in .net?

596


Explain soap and xml?

566


What does .net stand for?

579


Will it go to finally block if there is no exception happened?

532


How can I tell if .net 3.5 is installed?

519


What is the difference between asp.net and asp?

603


What is the difference between override and overload in a method?

537


Explain assemblies in .net?

616


Tell us what is json data, and what is one way that .net developers can work with json?

574


How will you load dynamic assembly? How will create assemblies at run time?

1623