public T removeLast(){
  if (rows.size() != 0)   rows.remove(rows.size() - 1);
  return instance();
}

public T removeLast ( ) { if ( rows . size ( ) != 0 ) rows . remove ( rows . size ( ) - 1 ) ; return instance ( ) ; }
remove the last row .
