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 C++ objects?
Can you write a function similar to printf()?
Why are pointers used?
Eplain extern keyword?
What is namespace & why it is used in c++?
Is java a c++?
Is arr and &arr are same expression for an array?
How do you establish an is-a relationship?
What are the differences between java and c++?
How do you define a class in c++?
Why do you use the namespace feature?
What is a namespace in c++?