Servlet Interview Questions Leave a reply Question 1 What is servlet? Question 2 What is ServletConfig? Question 3 What is ServletContext? Question 4 What is the difference between doGet() and doPost() method? Question 5 What is the difference between forward() and sendRedirect()? Pages: 1 2
Java Exception Interview Questions Leave a reply Question 1 What is an exception? Question 2 What is difference between Error and Exception? Question 3 Exceptions are defined in which java package? Question 4 Can we throw an exception manually? Question 5 What’s the base class of all exception classes? Pages: 1 2
Java Collections Interview Questions Leave a reply Question 1 What is Collection? Question 2 What is difference between an ArrayList and a vector? Question 3 What is difference between List and a Set? Question 4 What is the difference between Set and Map? Question 5 What is the difference between Iterator and Enumeration? Pages: 1 2
Java Multithreading Interview Questions Leave a reply Question 1 What is Thread in Java? Question 2 What is the difference between Thread and Process in Java? Question 3 What are the ways to create the thread? Question 4 What are the different states of a thread’s lifecycle? Question 5 What is initial state of a thread when it is started? Pages: 1 2
Java String Interview Questions Leave a reply Question 1 What is String in Java? Question 2 What are the ways to create String Object? Question 3 Is String a primitive data type in Java? Question 4 What is the difference between the String and StringBuffer classes? Question 5 How to compare two Strings in java program? Pages: 1 2
Core Java Interview Questions Leave a reply Question 1 What are the key concepts of OOPS? Question 2 What is a JVM? Question 3 What are access modifiers? Question 4 What is Constructor? Question 5 What is final keyword? Pages: 1 2