resultset in java jdbc code example
Example: resultset methods in jdbc
next() -> moves to next row
previous() -> moves to previous row
getObject() -> reads data from column
first() -> jumps to first row
last() -> jumps to last row
absolute(int row) -> go to specific row
beforeFirst()-> jumps to row 0.
Used to call next() method in while loop
getRow() -> returns index of current row