2. I've a class Parent Class A and a Derived Class B. Here
is a scenario.
I've an instance of Class A as objA and an instance of Class
B as objB.
I can refer a child class variable as objB=objA, but
cannot do objA=objB what is the reason?
Answer Posted / gopal
Here ObjA is Base Class and ObjB is Derived Class.
In Inheritence Process Derived class Will get the all
features of Base Class.
because objB=O=objA Is COrrect
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What happens to the winfx technologies?
What re interop services?
What is the mesi? : Dot net architecture
How to improve the cache performance? : .NET Architecture
Can I customise the trace output?
Explain about generation?
Difference between throw exception and rethrowing ?
Whats new features in Visual Studio 2012?
I want to create a project like google maps how can we do that with atlas?
What do you know about machine.config file ?
How cache is used? : Dot net architecture
Explain cache memory? : Dot net architecture
What is the problem with .net generics?
Explain pipelining? : .NET Architecture
Explain what does the term "green architecture" mean? : Dot net architecture