Map map = new HashMap(2);
map.add(“1”,”one”);
map.add(“2”,”two”);
map.add(“3”,”three”); What will happen at this line?
Answer Posted / mallu
No error will be generaterd.
| Is This Answer Correct ? | 3 Yes | 8 No |
Post New Answer View All Answers
What are the procedures?
What are adapter classes?
Can a method be static?
What is a consumer in java?
What is java and their uses?
Is null an object in java?
What does sprintf return?
Which is better 64 bit or 32 bit?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
Why isn’t there operator overloading?
What is a file pointer?
What is high level language in computer?
What does bitwise or mean?
What is the mapping mechanism used by java to identify IDL language?
Is main is a keyword?