I am trying to understand why they will start the cursor before the first position in the line and why it will end after the last position. Is there an advantage to inheritance for this?
For instance:
public abstract int getPosition ()
C: API Level 1 Returns the current cursor position in a rowset. The value is zero. When the rowset is first returned, the cursor will be at -1, which is before the first row. After the last line another call is returned, the next () will leave the cursor behind the last record in the position col- ().
returns the current cursor position.
Thanks,
source share