What is a base class?
Answer / Parvind Pal
A base class is a class from which other classes derive. It provides common properties and behaviors to all its derived classes. Derived classes can inherit properties, methods, and constructors of the base class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Are strings mutable in c++?
What are the strengths of C++?
Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B";
Why main function is special in c++?
What is Destructor in C++?
Difference between shift left and shift right?
How to reduce a final size of executable?
How would you stop a class from class from being derived or inherited?The constructer should not be Private,as object instantiation should be allowed.
What is an object in c++?
What is polymorphism and its type in c++?
Can we use struct in c++?
What is this pointer in c++?