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...

Child cObj = new Parent()
Wahts the output ?

Answer Posted / giri

You can write below ways [Upcasting].

Child *cObj = new Parent();

Is This Answer Correct ?    5 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the main feature of oop?

1124


why reinterpret cast is considered dangerous?

2349


What do you mean by variable?

990


What is polymorphism and types?

1056


What is oops with example?

1014


What are the three parts of a simple empty class?

2014


What is encapsulation in oops?

974


What is abstraction in oops?

999


What is abstraction in oop with example?

1086


State what is encapsulation and friend function?

1215


What is property in oops?

1015


What is persistence in oop?

1113


What is polymorphism and its types?

1027


Get me a number puzzle game-program

2213


How to hide the base class functionality in Inheritance?

1109