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 / deepthi

An error. We cant create such kinda objects.

Is This Answer Correct ?    20 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the realtime excercises in C++?

2840


Can a destructor be called directly?

1076


What is this pointer in oop?

1074


Why is there no multiple inheritance?

1003


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2198


When not to use object oriented programming?

1110


What is difference between oop and pop?

1168


How do you achieve polymorphism?

1081


What is for loop and its syntax?

1086


What is a superclass in oop?

1175


How do you define social class?

1069


How can you overcome the diamond problem in inheritance?

1184


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

2070


What is abstraction example?

1112


What is data binding in oops?

1099