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

Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4745


What is encapsulation example?

1056


What is oops in simple words?

1091


write string class as your own class in java without using any built-in function

2500


What is abstraction in oops?

1046


What is inheritance and how many types of inheritance?

1103


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

2143


What is polymorphism and why is it important?

1042


program for insertion ,deletion,sorting in double link list

2687


What are constructors in oop?

1180


What are the three parts of a simple empty class?

2049


What is byval and byref? What are differences between them?

2217


What are the 5 oop principles?

1124


any one please tell me the purpose of operator overloading

2399


What is the important feature of inheritance?

1136