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
Why do we need static class in c#?
What is object type in c#?
Can you mark static constructor with access modifiers?
Explain dataadapter.update method in .net?
What is the difference between virtual method and abstract method?
Why do we need to call CG.SupressFinalize?
Why do we use stringbuilder in c#?
What is enum in c#?
Will the following code compile?
Why do we use polymorphism in c#?
How is exception handling implemented in c#?
Define delay signing?
What does console readkey do in c#?
What are Types of assemblies that can be created in dotnet
What is hierarchical inheritance in c#?