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 |
Explain the difference between using macro and inline functions?
what is upcasting in C++?
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
Which c++ operator cannot overload?
Explain about Garbage Collector?
What is difference c and c++?
When should I use unitbuf flag?
How many bit combinations are there in a byte?
What is c++ 11 and c++ 14?
What is OOPs
Write an algorithm that determines whether or not an almost complete binary tree is a heap.
Is c++ proprietary?