what is difference betwwen hashmap and hashtable ?
Answer Posted / ajay yadav
Hash Map allows null values.
Hash Table dont allows null values.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the use of System class?
What is an immutable object?
What is the simpletimezone class in java programming?
If an application has multiple classes in it, is it okay to have a main method in more than one class?
How do you invoke a method?
What is java string pool?
When should we create our own custom exception classes?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
How do you override a variable in java?
What is the difference between equals() and == in java?
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
What is a classloader in java?
Explain the pointers in Java?
What is a nested list?
What are the main concepts of oops in java?