Result Set In Java. A ResultSet object maintains a cursor pointing to its current row of data. ResultSet provides next method to move cursor in forward direction.
Initially this cursor is positioned before first row. Initially the cursor is positioned before the first row. By default ResultSet object can be moved forward only and it is not updatable.
Since Set is an interface objects cannot be created of the type setWe always need a class which extends this list in order to create an object.
This type-safe set can be defined as. A JDBC ResultSet contains records. The text about queries shows how the result of a query is returned as a javasqlResultSet. What is ResultSet in Java JDBC.