what is hashmap& hashtable with example?
Answer / siva kumar g.
Both are collection of objects.
Both are used to store the key , value pairs.
Hashtable is synchronized where as Hashmap is not.
Hashtable does't allow the null values.
| Is This Answer Correct ? | 7 Yes | 1 No |
who can we create the object of a class? in how many ways we can create it (max 5)
What are the data types supported by java? What is autoboxing and unboxing?
What is unicode used for?
What is overloading and overriding in java?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
Why set is used in java?
what is Dictionary? and what purpose it is used for?
What are the common problems you have faced while implementing Java?
Can we increase array size dynamically in java?
For technical interview question please sir send me because tomorrow my interview
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
whst is encapsulation?when u encpsulate actually while devoloping code?