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 do you define a class in oop?
What are functions in oop?
What is property in oops?
What is difference between multiple inheritance and multilevel inheritance?
What is the fundamental idea of oop?
What is the purpose of enum?
Why is destructor used?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is the point of polymorphism?
What is the oops and benefits of oops programming?
how to get the oracle certification? send me the answer
What are the advantages of polymorphism?
What is class and object in oops?
Can we override main method?
Why do while loop is used?