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
What is meant by oops concept?
#include
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
Why interface is used?
Templates mean
What are the three parts of a simple empty class?
What is encapsulation example?
Can a destructor be called directly?
What is a function in oop?
What is solid in oops?
What is difference between inheritance and polymorphism?
write knight tour problem which is present in datastructure
What is polymorphism in oops with example?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
to find out the minimum of two integer number of two different classes using friend function