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
I have a problem in installing visual Studio 2008 on PC that have Celeron Processor ? afterAll InstallionFaied . Pls suggest me . Is it possible or not .if Yes then How ?
What is delegation in .net?
Explain what relationship is between a process, application domain, and application?
How you apply a theme in whole application in .Net?
What is the advantage of .net?
What do you mean by Code Access Security in .NET?
Is there built-in support for tracing?
What is managed code execution?
Difference between user groups and code groups
What is namespaces in .net?
Differences between dll and exe?
What is STA in .NET?
What are the core differences between .NET Languages ?
What is iis? Have you used it?
Explain difference between panel and groupbox classes using .net?