What is the correct syntax for inheritance?
1) class aclass : public superclass
2) class aclass inherit superclass
3) class aclass <-superclass
Answer Posted / pushpa
class aclass : public superclass
Is This Answer Correct ? | 33 Yes | 0 No |
Post New Answer View All Answers
Who invented oop?
Is data hiding and abstraction same?
What makes a language oop?
Why do we use inheritance?
What are the 4 main oop principles?
Why is encapsulation used?
What is polymorphism and its types?
What is cohesion in oop?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
#include
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
How to hide the base class functionality in Inheritance?
What are properties in oop?
What is encapsulation in ict?
What are oops methods?