Difference between Hash Table and Hash Map?
Answer Posted / hemasankar reddy suggu
1)Hashtable method all are synchronized where as HashMap
does not Synchornized all methods
2)HAshtable object is thread safe where HashMap object is
not thread Safe
3)Hashtable perfomance is low where Hashtable performance is
High
4)null is not allowed in Hashtable but HAshMap null is allowed
5)Hashtable is Interduced in 1.0V where HashMap interduced
in 1.2V
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Where and how can you use a private constructor?
What data type is true or false?
Explain about oops concepts.
For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green White will have 1 Weight. Red and Green carry no weights. Shortest path is the path with less weight when you add up the weights in the path.
What is functional interface in java example?
How do you escape sequences in java?
Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?
What do you mean by data type?
How will you call an Applet using Java Script Function?
What is queue in java?
Can we make constructors static?
What are the differences between processes and threads?
Why should I use abstract class?
What is arraylist e in java?
Can we extend immutable class?