Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain about accessibility modifier 'protected internal'?

957


What is the difference between disposing of () and finalize() methods in c#?

954


What is a Jagged Array in C#?

953


What is oledbconnection c#?

859


Differentiate between object pooling and connection pooling in c#?

931


Define sealed classes in c#?

872


What is data types in c#?

898


Can enum be null c#?

927


Can abstract class have parameterized constructor?

877


What is property in c#?

868


Explain constructor in c#?

1246


What is concrete class in c# with example?

897


What do you know about WM_CHAR message?

922


What is parse method in c#?

856


What is a partial class in c#?

942