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 the purpose of polymorphism?
What is inheritance and how many types of inheritance?
How to use CMutex, CSemaphore in VC++ MFC
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Why interface is used?
How do you define a class in oop?
Whats oop mean?
What is the point of polymorphism?
What is difference between multiple inheritance and multilevel inheritance?
How to hide the base class functionality in Inheritance?
What is abstraction oop?
What is difference between data abstraction and encapsulation?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What does sksksk mean in text slang?