Explain executeQuery Method »



ExecuteUpdate() Mehod :-
executeQuery() method returns a Resultset object(ResultSet is an Interface)
A java application can used to result set object to fetch the data from the database server
Note: When a Result set is opened(created) it will point to ‘Before first Row’
To make the ResultSet point to the first row we can call rs.next() immedetly after [...]