If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?



If a base class is an adt, and it has three pure virtual functions, how many of these functions must..

Answer / Jabir Husain

All three pure virtual functions must be overridden in the derived classes. The derived classes must provide their own implementation for each of these functions to be considered complete.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Explain about vectors in c ++?

1 Answers  


what is the diff b/n c and c++ a. dynamic scoping b. nested switching c. declaration of variables in any code block d. separation of compilation and linking

2 Answers   Hughes,


What is a class template in c++?

1 Answers  


Can we use this pointer inside static member function?

1 Answers  


What is c++ namespace?

1 Answers  


Explain the benefits of proper inheritance.

1 Answers  


Declare a class vehicle and make it an abstract data type.

1 Answers  


What are the different types of polymorphism?

3 Answers  


What would happen on forgetting [], while deallocating an array through new?

1 Answers  


What are the five basic elements of a c++ program?

1 Answers  


What is the difference between a copy constructor and an overloaded assignment operator?

4 Answers   Belzabar, Citrix, Microsoft, Wipro,


Are there any special rules about inlining?

1 Answers  


Categories