what is the difference between equals method and ==
Answer Posted / ravikiran
equals will compare two objects,== will compare whether two
reference variables refer to same object or not
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
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
What is the program compilation process?
Explain purpose of sleep() method in java?
What is difference between length and length() method in java ?
What is a final class ?
How can we create a thread in java?
What is the purpose of object oriented programming?
What are mutable classes?
What is a boolean in java?
How variables are declared?
What are recursive functions? Give some examples?
What is the difference between Error, defect,fault, failure and mistake?
Difference between collection, collection and collections in java?
What does microservices mean?
What is the difference between the file and randomaccessfile classes?