Answer Posted / harendra pal
An abstract class is a protocol class if:
it neither contains nor inherits from classes that contain member data, non-virtual functions, or private (or protected) members of any kind.
it has a non-inline virtual destructor defined with an empty implementation,
all member functions other than the destructor including inherited functions, are declared pure virtual functions and left undefined.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is difference between rand () and srand ()?
What are register variables?
How many different levels of pointers are there?
What do you mean by stack unwinding in c++?
Is python written in c or c++?
Specify some guidelines that should be followed while overloading operators?
What is the basic difference between C and C++?
What problems might the following macro bring to the application?
What is the best ide for c++?
What are the steps in the development cycle?
What are the advantages of c++?
Explain the difference between new() and malloc() in c++?
Is c++ still being used?
How can I learn c++ easily?
What is data structure in c++?