What is the correct syntax for inheritance?
1) class aclass : public superclass
2) class aclass inherit superclass
3) class aclass <-superclass
Answer Posted / uuh
Obviously, it depends on which programming language is
being used.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is polymorphism in oops with example?
What is the oops and benefits of oops programming?
What is byval and byref? What are differences between them?
What is the significance of classes in oop?
Why do we use polymorphism in oops?
How does polymorphism work?
What is polymorphism and types?
Why is static class not inherited?
What is meant by multiple inheritance?
What are the benefits of polymorphism?
What is the difference between static polymorphism and dynamic polymorphism?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is coupling in oops?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is the difference between inheritance and polymorphism?