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


Please Help Members By Posting Answers For Below Questions

Can you explain atlasuiglitz library?

532


Explain about generation?

572


What is Com Callable wrapper?when it will created?

535


inprocess vs out process session state : Dot net architecture

522


Explain about validation?

608






Do you know textbox and textview controls of .net mobile? : Microsoft dot net mobile

509


Does application frame need host?

498


how to change the title of my window?

1421


What are .net mobile controls features? : Microsoft dot net mobile

496


what are login controls?

1411


Define a virtual memory? : Dot net architecture

511


What is the purpose of cache? : Dot net architecture

538


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

455


How to improve the cache performance? : Dot net architecture

532


What is a virtual memory? : .NET Architecture

539