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
What will the line of code below print out and why?
Explain the extern storage classes in c++.
What are guid? Why does com need guids?
How do you flush a buffer in c++?
Define the process of error-handling in case of constructor failure?
Do you know the problem with overriding functions?
What is the difference between #import and #include?
What is a local reference?
How to allocate memory dynamically for a reference?
describe private access specifiers?
What is the outcome of cout< a) 16 b) 17 c) 16.5
Can a list of string be stored within a two dimensional array?
What is the copy-and-swap idiom?
Should you pass exceptions by value or by reference?
In a function declaration what does extern means?