String sqlstr= "update user set no=44 where name like'kaka'"
stmt.executeUpdate(sqlstr);
PreparedStatement :
PreparedStatement ps= con.prepareStatement(""update user set no = ? where name like ? ");
ps.setInt(1, 44);
ps.setString(2, "kaka");
ps.executeUpdate();