title: int cannot be converted to resultset
body: <p>I get when i use executeQuery() java.sql.SQLException: <code>Can not issue data manipulation statements with executeQuery()</code></p>
  
  <pre><code>public boolean newStudent(String sname,String gender,
                          String level,String faculty,
                          String section,String address,
                          String contactNo,String comment)
      {
          try{
              std.setString(1,sname);
              std.setString(2,gender);
              std.setString(3,level);
              std.setString(4,faculty);
              std.setString(5,section);
              std.setString(6,address);
              std.setString(7,contactNo);
              std.setString(8,comment);
              stdRes=std.executeUpdate();
              if(res.next()){
                  System.out.println("Succesfully saved!");
                  return true;
              }else{
                  System.out.println("Data save process interrupted");
                  return false;
              }
  
          }catch(Exception e){
              System.out.println(e);
              //e.printStackTrace();
              return false;
          }
      }
  </code></pre>