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

Describe these concepts: Polymorphism, Inheritance and Abstraction.

614


Which language is pure oop?

551


What is abstract class in oop?

534


Advantage and disadvantage of routing in telecom sector

789


What is an interface in oop?

595






What is object-oriented programming? Webopedia definition

725


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1637


Get me an image implementation program.

1559


Why oops is important?

614


Do you know about multiple inheritance?

641


What is variable example?

595


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

1628


What is stream in oop?

841


What is basic concept of oop?

700


What is oops and why we use oops?

573