下列程序的运行结果是 #include<iostream.h> class Location{ private: int X.Y; public: void init(int=0,int=0); void valueX(int val){X=val;} int valueX( ){ return X;} void valueY(int val){Y=val;} int valueY( ){return Y;}}; void Location::init(int init X,int init Y) { X=initX; Y=initY;} void main( ) { Location A,B; A.init( ); A.valueX(5); cout<<A.valueX( )<<endl<<A.valueY( )<<endl; B.init(6,2); B.valueY(4); cout<<B.valueX( )<<endl<<B.valueY( )<<endl;} A.5 0 6 4 B.0 0 6 4 C.5 0 6 2 D.0 0 6 2