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
Explain COM with example?
Explain the difference between state server and sqlserver : Dot net architecture
what are constructors and destructors?
What is .net mobile lists. : Microsoft dot net mobile
How to improve the cache performance? : Dot net architecture
What's new in the .net 2.0 class library?
Explain how does .net mobile work? : Microsoft dot net mobile
Explain write back and write through caches? : .NET Architecture
What is the purpose of Accordian in jquery? Where it can be used?
What are bindings?
Tell me .net mobile emulators? : Microsoft dot net mobile
Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form. What is the exact procedure on hardware that converts the ascii value to binary? : .NET Architecture
Explain what does the term "green architecture" mean? : Dot net architecture
What are the five stages in a dlx pipeline? : Dot net architecture
When do I need to use gc.keepalive?