Position Class

mail@pastecode.io avatar
unknown
java
24 days ago
286 B
51
Indexable
Never
public class Position {
    private int row;
    private int col;

    Position(int row, int col){
        this.row = row;
        this.col = col;
    }

    public int getRow(){
        return this.row;
    }

    public int getCol(){
        return this.col;
    }
}
Leave a Comment