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
Explain how to produce an assembly?
What is the difference between a class and an object, and how do these terms relate to each other?
Explain the difference between constants and read-only variables?
What is stored procedure ? how we use it in .NET ?
Explain what relationship is between a process, application domain, and application?
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 tools is used to develop .NET applications?
explain the states of a window service application?
What is managed code in .NET?
i had attended to infosys interview on 17th april 2010...on .net..3+ experience for Technology Analyst .. to my knowledge i did well in technical and hr whether i loose the interview or still processing is taking place..am confused please. what accuatly would be happend?
Why did they call it .net?
hai, about trading domain and need simple project on trading system. please help me...
Explain what is reflection in microsoft .net context?
Explain can 2 different applications use the same dll in gac at the same time?
What is the concept of inheritance and how it works in .net?