What is map and hashmap? also tell the difference.
Answer / vivek
map is an interface and hash map is the class which implements the map interface.both map and hash map are unsynchronized...
| Is This Answer Correct ? | 6 Yes | 0 No |
Why set do not allow duplicates in java?
Why are getters and setters used?
What is try-with-resources in java?
Is empty list java?
What is difference between Iterator and for loop
Can a method inside a interface be declared as final?
What is java objectoutputstream?
What is a final class ?
Explain constructors and types of constructors in java.
describe synchronization in respect to multithreading? : Java thread
Can list have duplicates in java?
My interview asked what is dynamic variable in java and where we use them.