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

Why is .net so popular?

961


Differentiate between response.expires and response.expiresabsolute?

980


What is join in c#?

938


the c# keyword .int. Maps to which .net type?

1140


What is a shared assembly?

983


write a c# program add two matrix with input number ?

962


Is c# and c sharp same?

861


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

981


Is namespace a class?

885


What is difference between mutable and immutable in c#?

908


What is ac callback?

909


What are scriptable objects?

937


How do you access a constant field declared in a class?

910


Give examples for value types?

955


What is difference between struct and class in c#?

919