Why const and goto are reserved keyword in java?
Answer / ravikiran(aptech mumbai)
Because final and continue already satisfies the purpose of
the both
| Is This Answer Correct ? | 3 Yes | 17 No |
what is Assertion?
I Have a class abstract with one abstract method, so that method should override in the subclass, but i dont want to override, if i am not override what will happen? If compilation will occur then i dont want to give compilation error, then what we need to do??? See the sample program. public abstract class AbstractExample { public abstract void sampleMethod(); } public class AbstractExampleImple extends AbstractExample { }
Explain about interrupt() method of thread class ?
What is gui programming?
What is hash in java?
For which statements we use a label?
what is the need to set path in java? how many ways to set path in java? Explain breif?
What is the difference between the ">>" and " >>>" operators in java?
What best practices should you follow while writing multithreaded code in java?
Is null in java?
What is array and arraylist 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