Sunday, July 3, 2011

Implementing getColumnCount and getRowCount

The methods getColumnCount and getRowCount return the value of the member variables numcols and numrows, respectively:

  public int getColumnCount() {     return numcols;   }    public int getRowCount() {     return numrows;   }

No comments:

Post a Comment