What is an accessor?
Answer / ritesh pal
An accessor is a class operation that does not modify the state of an object. The accessor functions need to be declared as const operations
| Is This Answer Correct ? | 0 Yes | 0 No |
What about main() method in java ?
If try block is successfully executed, Then Is Finally block executed?
What happens when you add a double value to a string?
What is the % operator?
What do you mean by Function Overloading in java?
what is the use of servlet engine?
What are unchecked exceptions in java?
Explain about vector, dictionary,hash table, property classes?
Sample code to retrieve objects from HashMap in sorted ascending order?
Can we use a switch statement with strings?
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
If I have 1000 objects and my requirement is to sort them quickly, then which collection would you recommend and why?