My Blog SCJP 5 SCWCD 5
@Campbell Ricthiee :you have given me links to the API,i had enough of API information,but can you give me some real time scenario where we can implement HashMap and HashTable,Please explain me with a real time scenario as to when i should use a HashMap and when i should use a HashTable? Real time Examples provided will be helpful to understand the differences.
Question 2> when do i need to use a HashMap and when do i need to use a Hashtable(Synchronized).I mean under what circumstances should i prefer a HashMap over a Hashtable and vice versa and Why? Can you give me a Real TIME SCENARIO under which you can strongly recommed me to use a HashMap and Hashtable.I need real time examples.i have understood the differences.<<Please read my question again carefully>>.?? i hope the question is clear now.
Question 3> Can you explain how to achieve it using Reflection API,how do i invoke a method using Reflection API.??SEE question 3 in the Original Post.
4> Is Synchronization an overhead ? if so,why ??

Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
| With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |