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
Why do we use inheritance?
What is overloading in oops?
what is the sylabus for priliminaries?
What is static modifier?
what is graphics
Why is oop useful?
What is oops in simple words?
What is difference between oop and pop?
What is the difference between a constructor and a destructor?
What is use of overloading?
What is the difference between inheritance and polymorphism?
What is class and object with example?
What is the purpose of polymorphism?
What is the main purpose of inheritance law?
2. Give the different notations for the class.\