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
Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.
What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?
What are the various operations performed on stack?
When should you use global variables?
Explain the uses oof nested class?
List different attributes in C++?
What is vector string in c++?
What are the types of array in c++?
How can you tell what shell you are running on unix system?
Is it possible to use a new for the reallocation of pointers ?
What operators can you overload in c++?
Define a pdb file.
Which function cannot be overloaded c++?
What do you mean by ‘void’ return type?
How a modifier is similar to mutator?