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 do..while loops structure?
What is the auto keyword good for in c++?
Is swift faster than c++?
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?
Can static member variables be private?
What is extern c++?
What is the latest c++ standard?
Can you overload the operator+ for short integers?
Explain how the virtual base class is different from the conventional base classes of the opps.
Can we use this pointer inside static member function?
Is it possible to get the source code back from binary file?
Explain overriding.