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 other than biginteger has been introduced in system.numerics namespace?
What is the use of CLR in .NET?
Define cache? : Dot net architecture
Define the mesi? : Dot net architecture
Define a managed code? : Dot net architecture
Explain cache memory? : .NET Architecture
Explain some of the disadvantages due to microsoft.net?
State the different levels of exceptional safety?
What is a service contract, operation contract and data contract?
.Net Frame work arch?
What are end points, contract, address and bindings?
how to use custom field validation
difference between data reader and dataset
Explain hard disk and what is its purpose? : .NET Architecture
Explain dma? : Dot net architecture