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
Why do we use oops?
What are the benefits of polymorphism?
Why do we use polymorphism?
What is variable example?
What is interface in oop?
What is the real time example of encapsulation?
What is coupling in oops?
What is abstraction in oop with example?
Why do we use class in oops?
What is oops and its features?
What is the benefit of oop?
Can you inherit a private class?
What is overloading in oops?
What is the full form of oops?
What does and I oop mean in text?