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



if we inherit class in stack so object of stack will store in stack or heap? as class a { int s..

Answer / vikas kumar

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

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More C Sharp Interview Questions

Define a jagged array in c#?

0 Answers  


What is the difference between delegates and events in c#?

0 Answers  


How many variables do you need?

0 Answers  


What is the difference between ref & out parameters in c#?

0 Answers  


What is a class c#?

0 Answers  






Are constructors inherited c#?

0 Answers  


hi , how could i analyse a text the user added on a site to look for some words like "car" "shouffere" .. and then i can use that information in addition to other information to make a decision about the adds im going to to show on the site.

1 Answers  


Explain About namespaces

0 Answers  


What is difference between a constant and read-only in C#?

0 Answers   CDC,


Oops concepts ?

2 Answers   Accenture, Digital GlobalSoft,


How do you concatenate in c#?

0 Answers  


Is lazy t thread safe?

0 Answers  


Categories