Difference between Hash Table and Hash Map?
Answer Posted / guest
HashTable is synchronized where as HashMap is not.
HashMap allows null values for (key,value) for only once
where as HashTable does not.
| Is This Answer Correct ? | 2 Yes | 0 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 arrays aslist in java?
What is the purpose of the enableevents() method in java programming?
What are the basics of core java?
How to find the index of the largest number in an arraylist java?
How many bits are in a sentence?
How to create a base64 decoder in java8?
What is final modifier?
Describe how to implement singleton design pattern in struts.
What is a class instance variable?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
Explain an algorithm to find depth of a binary tree.
Can a constructor be made final?
Garbage collection in java?
Differentiate between static and non-static methods in java.