5.
Write code to find the First non repeated character in the String ?
Another good Java interview question, This question is mainly asked by Amazon and equivalent
companies. See first non repeated character in the string : Amazon interview question
6. What is the difference between ArrayList and Vector ?
This question is mostly used as a start up question in Technical interviews on the topic of Collection
framework . Answer is explained in detail here Difference between ArrayList and Vector .
7. How do you handle error condition while writing stored procedure or accessing stored procedure
from java?
This is one of the tough Java interview question and its open for all, my friend didn't know the answer so
he didn't mind telling me. my take is that stored procedure should return error code if some operation fails
but if stored procedure itself fail than catching SQLException is only choice.