Java Interview Questions
10 Jan, 2007
- What is the difference between CGI and Servlet?
- What is meant by a servlet?
- What are the types of servlets? What is the difference between 2 types of Servlets?
- What is the type of method for sending request from HTTP server ?
- What are the exceptions thrown by Servlets? Why?
- What is the life cycle of a servlet?
- What is meant by cookies? Why is Cookie used?
- What is HTTP Session?
- What is the difference between GET and POST methods?
- How can you run a Servlet Program?
10 Jan, 2007
- What is the protocol used by server and client ?
- Can I modify an object in CORBA ?
- What is the functionality stubs and skeletons ?
- What is the mapping mechanism used by Java to identify IDL language ?
- Diff between Application and Applet ?
- What is serializable Interface ?
- What is the difference between CGI and Servlet ?
- What is the use of Interface ?
- Why Java is not fully objective oriented ?
- Why does not support multiple Inheritance ?
- What it the root class for all Java classes ?
10 Jan, 2007
- What is the difference between an Abstract class and Interface ?
- What is user defined exception ?
- What do you know about the garbage collector ?
- What is the difference between C++ & Java ?
- Explain RMI Architecture?
- How do you communicate in between Applets & Servlets ?
- What is the use of Servlets ?
- What is JDBC? How do you connect to the Database ?
- In an HTML form I have a Button which makes us to open another page in 15 seconds. How will do you that ?