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 / shiva
10
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Explain different types of html, web and server controls.
Do you know what is .net standard?
Why did they call it .net?
Explain the difference between .net 2000 and .net 2005(features)? Which one is better?
What are the different types of Classes in .NET?
Please explain what is heap and what is stack?
What is assembly in .net?
What is cyclomatic complexity and why is it important?
How do you generate a strong name?
What is the difference between .net and laravel?
Please explain what is the difference between odbc and ado?
Example from .net. Integer & struct are value types or reference types in .net?
What is .net debug & trace?
How we can achieve Connection pooling in .Net?
What is the concept of inheritance in .net?