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
How can I get around scope problems in a try/catch?
How is lazy loading achieved?
Does unity use c++ or c#?
Which attribute is used in order that the method can be used as webservice?
What is difference between mutable and immutable in c#?
Explain briefly the difference between value type and reference type?
What is int tryparse in c#?
Structs are largely redundant in c++. Why does c# have them?
What is the do while loop code?
What is datetime parse in c#?
Where do I put dll files?
Explain how to implement an object pool in c#.net
When do we generally use destructors to release resources?
Is it possible to inherit multiple interfaces?
Explain the functionalities of satellite assembly?