Campus interview zone
Would you like to react to this message? Create an account in a few clicks or log in to continue.

What is a protocol class?

Go down

What is a protocol class? Empty What is a protocol class?

Post  Admin Sun Jan 31, 2010 5:39 pm

An abstract class is a protocol class if:
1.it neither contains nor inherits from classes that contain member data, non-virtual functions, or private (or protected) members of any kind.

2.it has a non-inline virtual destructor defined with an empty implementation

3.all member functions other than the destructor including inherited functions, are declared pure virtual functions and left undefined.

Admin
Admin

Posts : 71
Join date : 2010-01-21

http://campus-interview.co.cc

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum