#include<iostream.h>
#include<conio.h>
class base
{
public:
virtual void disp()=0;
};
class A:public base
{
public:
void disp()
{
cout<<"Derived Class";
}
};
void main()
{
clrscr();
A s1;
s1.disp();
getch();
}
Derived Class