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 functions in oop?
Why is static class not inherited?
What is polymorphism explain?
What are the three main types of variables?
Templates mean
What is polymorphism what are the different types of polymorphism?
Are polymorphisms mutations?
What is static in oop?
What is basic concept of oop?
What is destructor in oop?
What is class and object in oops?
What is polymorphism programming?
What is oops with example?
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 main purpose of inheritance law?