Amazon Interview Question for Software Engineer / Developers


Country: United States




Comment hidden because of low score. Click to expand.
1
of 1 vote

Checked exceptions are exceptions like IOException, they must be handled by programmer using try/catch block.
Unchecked exceptions are exceptions like NullPointerException, ArrayIndexOutOfBoundException it is not necessary to handle those exception
Compiler will not allow to run without handling the checked exception but it will allow to have unchecked exceptions in our code because it is not definite that an unchecked type of exception will occur at run time.

- mageshkhanna March 19, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Checked Exceptions are those exceptions that the programmer need to anticipate while coding and provide proper handling in the code. Compiler will give an error if the checked exceptions are not defined while using certain features.

Unchecked exceptions are those exceptions that are generally not anticipated and they occur at run-time. These kind of exceptions are not supposed to be handled by the programmer and should let the jvm terminate in such cases.

- Sr March 21, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

unchecked exception: error and runtime exception and its subclass
checked exception: is those subclasses of Exception that must be handled by try catch block, including IOException,SQLException and so on.

- danqianchen April 19, 2012 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More