改错题类与对象 程序设计题

#include
using namespace std;
class Point
{
public:
Point(int a,int b)
{
x= a;
y=b;
}
static void f(Point m);
private:
int x;
static int y;
};
void Point::f(Point m)
{
cout<<"x="<<m.x<<endl;
cout<<"y="<<y<<endl;

int Point::y=0;
int point::x=l;
int main()

Point P(1,2);
Point:f(p);
P.f(P);
return 0;
}