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
No Answer is Posted For this Question
Be the First to Post Answer
Which collection allows duplicate values in java?
Can a class have multiple constructors?
What is the use of static import ?
What happens if we override only equals?
What is the benefit of abstract class?
What are the different ways of creating thread?
class A{ m2(){ } } class B extends A{ m2(){ } } class c extends B{ m2(){ } } class my_class extends c{ m2(){ } pulic static void main(){ ...My_class a = new my_class(); super.super.super.m2(); is this is leagal if not find what is the legal procedure in order to call A's version of m2(); }
Explain the purpose of garbage collection in Java?
As a developer what steps do you take to improve the performance?
we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.
why constructor dont have returns type?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?