Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. class MyPoint
  2. {
  3. int _x;
  4. int _y;
  5. int _z;
  6. MyPoint(int x, int y, int z){
  7. this._x = x;
  8. this._y = y;
  9. this._z = z;
  10. }
  11. public int X {get{ return this._x;}}
  12. public int Y {get{ return this._y;}}
  13. public int Z {get{ return this._z;}}
  14. }
  15.  
  16.  
  17. class Point(int X, int Y, int Z);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement