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


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Difference between a homogeneous and a heterogeneous container

0 Answers  


What is split a string in c++?

0 Answers  


Write a Program for find and replace a character in a string.

0 Answers  


Shall we use 'free' to free memory assigned by new, What are the further consequences??

5 Answers   Symphony,


Is overriding possible in c++?

0 Answers  






Does c++ have finally?

0 Answers  


How is an Abstract Base Class(ABC) related to an "Abstract Data Type" (ADT)

2 Answers  


How to create a pure virtual function?

1 Answers  


What is null pointer and void pointer?

0 Answers  


What is data binding in c++?

0 Answers  


Which is the best c++ compiler for beginners?

0 Answers  


class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4

4 Answers   Quark,


Categories