What is a base class?



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

Post New Answer

More C++ General Interview Questions

Are strings mutable in c++?

1 Answers  


What are the strengths of C++?

1 Answers  


Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B";

7 Answers   CTS,


Why main function is special in c++?

1 Answers  


What is Destructor in C++?

1 Answers  


Difference between shift left and shift right?

1 Answers   Symphony,


How to reduce a final size of executable?

3 Answers  


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.

15 Answers   Satyam,


What is an object in c++?

2 Answers  


What is polymorphism and its type in c++?

1 Answers  


Can we use struct in c++?

1 Answers  


What is this pointer in c++?

2 Answers  


Categories