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 problem with overriding functions
Explain the term memory alignment?
What is a local variable?
WHO DEVELOPED C++?
How would you use the functions sin(), pow(), sqrt()?
Is structure can be inherited?
What can I use instead of namespace std?
Design a program to input a date from user in the form day/month/year (e.g. 2/6/2000) and report whether itβs a valid date or not. The program should take account of leap years. You will need to know that a leap year is a year that is exactly divisible by 4, except that century years are only leap years if they are divisible by 400.
What is a flag in c++?
What do you mean by a template?
What is the best c++ book?
What is c++ stringstream?