#include #include class comp { int x,y; public: void getdata(void); int operator <(comp &s); }; int comp::operator <(comp &s) { if(x>x; cout<<"\n Enter the value of y :"; cin>>y; } void main() { clrscr(); comp i,j; i.getdata(); // Data given to first Object. j.getdata(); // Data given to first Object. if (i