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

What is InterFace???

12 Answers  


How do I stop my console from closing in c#?

0 Answers  


what is IDisposal interface,IComparable,IEquatable,IFormatable

0 Answers   Wipro,


1)what is difference between char and varchar in sql server 2005 2) what is composite key and candidate key 3) what is temporary table and derived table 4) how to calculate difference between two dates

1 Answers   Wipro,


What are lambda expressions used for?

1 Answers  


How does dictionary work in c#?

0 Answers  


What are the Different kinds of methods?

4 Answers   Wipro,


What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?

0 Answers  


What is exe file in c#?

0 Answers  


Name the control which cannot be placed in mdi?

0 Answers  


Is php better than c#?

0 Answers  


What is difference between value and reference types?

5 Answers   Accenture,


Categories