DateTime[] dt = new DateTime[10]
for(i=0; i<10; i++)
{
dt[i] = DateTime(2008, 1, i+1)
}
How many heap object will be created for the above array.
Choose the correct answer below.
Ans: 1, 10, 11, 12
Answer Posted / garima kurmi
Correct answer is 1.As the heap is a pointer and stores the
type of the object not the value.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is common type system (cts)?
What is the single responsibility principle?
Is atl redundant in the .net world?
Explain the process of serialization in .NET?
How anonymous method is different from a lambda expression?
How to prepare parametrized (with more than one parameters) crystal report. Please tell me the code procedure, if any body can?
What are the new 2.0 features useful for?
As you know read-only variables and constants have many similarities, but what is at least one way that they differ?
What is the difference between asp.net and asp?
In code behind class, name the type of code found. Is it the server side code or client side code?
i m fresher,hav SQL knowledge but in my ofc. i hav to work on dotnet. so plz tell me how to learn it,? from where to stat? i hav C prog. knowledge, ASP.net
What is a .net class?
Tell us what is a sealed class?
How does u handle this COM components developed in other programming languages in .NET?
What is the purpose of IClonable interface in .NET?