This method is telling me that no operator for >> the class Property. Can someone please help me overload this operator, thnx.Code:class Property {
public:
Property();
void operator >>(Property p);
private:
char *owner[256];
};
Property::Property() {}
Property:: operator >> (Property p) {
cin>>owner;
}
int main () {
Property p;
cin>>p;
}