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...

if we inherit class in stack so object of stack will store
in stack or heap? as
class a
{
int s;
public aa(){}
}
stack mystack:a
{

}
mystack obj;

ans: about obj

Answer Posted / vikas kumar

we should initialize the object with (new) key word.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

update data in an xml file which resides in solution itself, using silverlight 4.0

1704


What is the difference between console and windows application?

906


What is default access modifier for class in c#?

942


what optimizations does the c# compiler perform when you use the /optimize+ compiler option?

1012


what is the difference between a struct and a class in c#?

1080


Can we create instance of private class in c#?

841


How do you use nullable?

880


Can dictionary have duplicate keys c#?

824


How do you implement thread synchronization in c#?

841


What is session c#?

912


Is dictionary reference type c#?

775


What is the difference between interface and functional interface?

949


What is singleordefault c#?

852


What is meaning of type safety in c#?

795


What is the default value of boolean variable?

909