Java Interview Questions

Basic Java Servlet Interview Questions

  1. What is the difference between CGI and Servlet?
  2. What is meant by a servlet?
  3. What are the types of servlets? What is the difference between 2 types of Servlets?
  4. What is the type of method for sending request from HTTP server ?
  5. What are the exceptions thrown by Servlets? Why?
  6. What is the life cycle of a servlet?
  7. What is meant by cookies? Why is Cookie used?
  8. What is HTTP Session?
  9. What is the difference between GET and POST methods?
  10. How can you run a Servlet Program?

Java Networking and Algoritms Interview Questions

  1. What is the protocol used by server and client ?
  2. Can I modify an object in CORBA ?
  3. What is the functionality stubs and skeletons ?
  4. What is the mapping mechanism used by Java to identify IDL language ?
  5. Diff between Application and Applet ?
  6. What is serializable Interface ?
  7. What is the difference between CGI and Servlet ?
  8. What is the use of Interface ?
  9. Why Java is not fully objective oriented ?
  10. Why does not support multiple Inheritance ?
  11. What it the root class for all Java classes ?

Large Collection of Java Interview Questions

  1. What is the difference between an Abstract class and Interface ?
  2. What is user defined exception ?
  3. What do you know about the garbage collector ?
  4. What is the difference between C++ & Java ?
  5. Explain RMI Architecture?
  6. How do you communicate in between Applets & Servlets ?
  7. What is the use of Servlets ?
  8. What is JDBC? How do you connect to the Database ?
  9. In an HTML form I have a Button which makes us to open another page in 15 seconds. How will do you that ?

Pages (21): « First ... « 18 19 20 [21]