0% found this document useful (0 votes)
10 views

First Non Repeated Character in The String: Amazon Interview Question

The document discusses three technical interview questions - finding the first non-repeated character in a string, the differences between ArrayList and Vector, and how to handle errors when writing or accessing stored procedures from Java.

Uploaded by

Deepa
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

First Non Repeated Character in The String: Amazon Interview Question

The document discusses three technical interview questions - finding the first non-repeated character in a string, the differences between ArrayList and Vector, and how to handle errors when writing or accessing stored procedures from Java.

Uploaded by

Deepa
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

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.

You might also like