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 how do I get deterministic finalization in c#?

971


What is a property in c#?

971


What is this keyword in C#?

1033


what is IFormatable

1043


How does aspect oriented programming work?

1013


What is a console device?

961


Different between method overriding and method overloading?

1033


What is lazy keyword in c#?

961


In which way you can convert a value-type to a reference-type?

1014


Can we use "this" command within a static method?

1052


What is a console in c#?

908


I want to print "Hello" even before main() is executed. How will you achieve that?

950


Define delegate?

1005


Explain About .Net remoting

1046


What is the and operator in c#?

1030