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

What is the difference between abstract and virtual?

898


What do you mean by expression tree?

845


what are the contents of an assembly ?

987


What is the difference between var and dynamic types in c# 4.0?

1024


Is null in c#?

876


What's the difference between System.String and System..StringBuilder in C#?

1005


What is escape character in c#?

917


Why delegates are type safe in c#?

894


What is desktop example?

918


hi, is compulsory .net knowledge need for biztalk server training. if need, how far?.tell me some info abt real time instructors in hyd or other?

1543


What's your approach to fetch static data in your windows form application?

999


Where do we use serialization in c#?

900


Do loops c#?

889


What is lazy loading and eager loading in c#?

916


Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?

988