Interview questions were really basic to check your knowledge about Java, JSP/Servlet, JDBC.
Round1 : Telephone Call
1. What is classpath in java ?
2. What is Object ?
3. Which methods are there in Object class?
4. Tell about immutable class. How to create one ?
5. How do we run new thread ? Why do we prefer implementing Runnable interface over extending Thread ?
6. Difference betwee ArrayList and LinkedList in java ?
7. What happens when we do HashMap.put(,) ? Explain internal of HashMap and Hashset
8Are you comfortable with JSP / Servlet ?
Round 2 : Skype Call
1. Difference Array and LinkedList ? Tell Advantages and disadvantages.
2. Exception handling: What is checked / Unchecked exception ? Java's exceptions and categories.
3. If you write custom exception which one it will be ? (checked / unchecked)
4. How do we run new thread ? Why do we prefer implementing Runnable interface over extending Thread ?
5. New features in Java (7/8) ?
6. JDBC question : Why do we use PreparedStatement ?
7. JSP / Servlet : Lifecycle of Servlet
8. When to use Get / Post ?
9. can we set attribute in HttpSession