Home Java Technology Java Basics Java Questions - 10

Login Form




Java Questions - 10 Print E-mail

1. What is meant by static query and dynamic query ?

 

2. How do you invoke a Servlet? What is the difference in between doPost and doGet methods ?

 

3. What is the difference between CGI and Servlet ?

 

4. How will you pass parameters in RMI ? Why u serialize?

 

5. What is the protocol used by server and client ?

 

6. Why there are some null interface in java ? What does it mean ? Give me some null interfaces in JAVA ?

 

7. Why we use OOPS concepts? What is its advantage ?

 

8. Diff between Application and Applet ?

 

9. What is Constructor and Virtual function? Can we call Virtual function in a constructor ?

 

10. What is the mapping mechanism used by Java to identify IDL language ?

 

11. What is meant by Session ? Tell me something about HTTPSession Class ?

 

12. Write a program for recursive Traverse ?

 

13. How do you load an Image in a Servlet ?

 

14. What is the middleware ? What is the functionality of Webserver ?

 

15. What is the difference in between the HTTPServlet and Generic Servlet ? Explain their methods ? Tell me their parameter names also ?