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 stack unwinding?
Differentiate between a copy constructor and an overloaded assignment operator.
write a program to insert an element into an array
string somestring ; Which of the following choices will convert a standard C++ string object "somestring" to a C string? a) Copy.somestring () ; b) somestring.c_str () c) &somestring [1] d) std::cstring (somestring) e) (char *) somestring
What is the type of 'this' pointer? When does it get created?
Differentiate between declaration and definition in C++?
What is the object serialization?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What is a virtual destructor?
Write a struct time where integer m, h, s are its members?
What is virtual base class?
What is a local reference?