What is a protocol class?
Answer / 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 |
What is the difference between map and hashmap in c++?
What is the size of a vector?
What do you mean by public protected and private in c++?
Write about c++ storage classes?
What is a container class? What are the types of container classes in c++?
What is the c++ programming language used for?
What is the use of volatile keyword in c++? Give an example.
What does n mean in c++?
Can you explain the term "resource acquisition is initialization?"
Difference between class and structure.
Explain stack & heap objects?
Why the usage of pointers in C++ is not recommended ?