Hi Friends,
Following question is asked in Marcus Exam.
Answer
Compilation and output of BillKathyCarl
Now just wanted to know that will such questions be there in real exam too ? becoz as far as I know we are supposed to know which is the best interface to select for particular situations. Now the above question requires you to know the methods like
tm.put("a","Bill"); &
tm.keySet().iterator();
So we should know these basic methods too ?? what else is required to be known ??
Thanks in advance.
Following question is asked in Marcus Exam.
Answer
Compilation and output of BillKathyCarl
Now just wanted to know that will such questions be there in real exam too ? becoz as far as I know we are supposed to know which is the best interface to select for particular situations. Now the above question requires you to know the methods like
tm.put("a","Bill"); &
tm.keySet().iterator();
So we should know these basic methods too ?? what else is required to be known ??
Thanks in advance.