Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
465 B
3
Indexable
Never
package cinema;

public class Seat {
    private int row;
    private int column;

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public int getColumn() {
        return column;
    }

    public void setColumn(int column) {
        this.column = column;
    }

    public Seat(int row, int column) {
        this.row = row;
        this.column = column;
    }
}