Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Explain COM with example?

892


Explain the difference between state server and sqlserver : Dot net architecture

832


what are constructors and destructors?

2089


What is .net mobile lists. : Microsoft dot net mobile

895


How to improve the cache performance? : Dot net architecture

882


What's new in the .net 2.0 class library?

869


Explain how does .net mobile work? : Microsoft dot net mobile

812


Explain write back and write through caches? : .NET Architecture

854


What is the purpose of Accordian in jquery? Where it can be used?

2237


What are bindings?

927


Tell me .net mobile emulators? : Microsoft dot net mobile

896


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

827


Explain what does the term "green architecture" mean? : Dot net architecture

916


What are the five stages in a dlx pipeline? : Dot net architecture

933


When do I need to use gc.keepalive?

1008