What is the correct syntax for inheritance?
1) class aclass : public superclass
2) class aclass inherit superclass
3) class aclass <-superclass
Answer Posted / srikanth
class aclass inherit superclass
| Is This Answer Correct ? | 9 Yes | 7 No |
Post New Answer View All Answers
How long to learn object oriented programming?
What is polymorphism give a real life example?
What is encapsulation with real life example?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is an interface in oop?
Why is destructor used?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is the significance of classes in oop?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is byval and byref? What are differences between them?
What is the difference between abstraction and polymorphism?
What is a null tree?
Why multiple inheritance is not allowed?
What is destructor give example?
how to get the oracle certification? send me the answer