what is difference between excute query ()and execute update
()?
Answer Posted / mano
execute query() used in select operation.
execute update() is used in delete, update and insert
operations.
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What are the 6 functions?
Can a class be private or protected in java?
What is object in java?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
Differentiate between vector and array list.
What are the special characters?
Tell us something about an iterator.
What do you mean by ordered and sorted in collections in java?
What are nested classes in java?
What is an inner class in java?
What do you understand by classes in java?
What is immutable class in java?
Can we use this () and super () in a method?
Are private methods final?
Does list allow duplicates in java?