Header Ads

  • Breaking Now

    What is the difference between executeQuery () and execute() ?

    The return type of execute() method is boolean , if true that means a ResultSet object is returned, if false no result is returned.The ResultSet is obtained on Statement object in such case through getResultSet method.In case of executeQuery() method once executed returns ResultSet object.

    Post Top Ad

    Post Bottom Ad