Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Coordinate
- {
- private int row;
- private int col;
- public Coordinate(int theRow, int theCol)
- {
- row = theRow;
- col = theCol;
- }
- public int getRow()
- {
- return row;
- }
- public int getCol()
- {
- return col;
- }
- }
Add Comment
Please, Sign In to add comment