What is the correct syntax for inheritance?
1) class aclass : public superclass
2) class aclass inherit superclass
3) class aclass <-superclass
Answer Posted / anusha
class aclass <-superclass
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What are the 4 main oop principles?
What is the renewal class?
How to hide the base class functionality in Inheritance?
Why do we need oop?
What is overriding in oop?
class type to basic type conversion
What is stream in oop?
Why is polymorphism important in oop?
What is the significance of classes in oop?
What is multilevel inheritance explain with example?
What is destructor in oop?
Can you name some types of inheritance?
What are the 4 pillars of oop?
How to call a non virtual function in the derived class by using base class pointer
What does no cap mean?