I have a class declared as below
public class a
{
public void add()
{}
}
What is the diference between
a a1 =new a;
and simply
a a1;
Answer Posted / rahul maurya
in a a1=new a memory is allocated to the main function to execute
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Which is more efficient for loop or while loop?
What is a generic in c#?
What does void do in unity?
Write a C# program to find the Factorial of n
What is the concept of strong names?
Which program construct must return a value?
What does question mark mean in c#?
What is out int in c#?
What is threading in c# with example?
What is an extension method in c#?
What is the usage of transponders?
Where is c# compiler located?
Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server
What is difference between private and protected?
Does google use c#?