What is the correct syntax for inheritance
a) class aclass : public superclass
b) class aclass inherit superclass
c) class aclass <-superclass
No Answer is Posted For this Question
Be the First to Post Answer
Are strings immutable in c++?
Brief explaination about #include<iostream.h>, cin and cout
Explain the difference between struct and class in terms of access modifier.
What is volatile and pragma? When they are used?
How the virtual functions maintain the call up?
Can a constructor be private?
what do you mean by memory management operators
When should overload new operator on a global basis or a class basis?
What is :: operator in c++?
What is the need of a destructor? Explain with the help of an example.
Describe private, protected and public – the differences and give examples.
What are templates? where we should use it?