Joined
Last Seen
-4 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: [CODE]#include <iostream.h> #include <conio.h> class SealedBase { protected: SealedBase() { } }; #define Sealed private virtual SealedBase class Penguin : Sealed { }; class BigZ : Penguin { }; void main() { BigZ bigZ;//cannot create obj beacuse penguin is sealed clrscr(); cout<<"Sample for selaed": getch(); }[/CODE] |
The End.