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 sorted list in c#?

0 Answers  


What is lazy loading entity framework?

0 Answers  


What happens if the inherited interfaces have conflicting method names?

0 Answers  


hi i m bhawna ,a student of mca want to know about what type of technical question has been asked in an interview of mnc's like HCL,TCS,WIPRO

1 Answers   HCL,


What is difference between dictionary and hashtable in c#?

0 Answers  


Can an interface extend a class c#?

0 Answers  


What is the difference between abstract class and interface in c#?

0 Answers  


List some of the common data providers for ado.net framework?

0 Answers  


What is linq c#?

0 Answers  


Is std :: string null terminated?

0 Answers  


What is meant by generics in c#?

0 Answers  


Can you override private virtual methods?

5 Answers  


Categories