Interview questions

JAVA interview questions – page 29

2,804 questions. Tap “Show answer” to check yourself.

  1. How Linkedlist can be implemeented in java with out using collection framework?

  2. What is the use of ServletConfig and ServletContext..?

  3. What is the difference between sessioncontext and entitycontext

  4. What is the use of unicast remote object

  5. What is the life cycle of Stateful session bean

  6. What is marker interface? Tell name of atleast three one?

  7. What is send redirect method? and when it is used?

  8. Is it necessary that there should be only one controller in MVC architechture? and why?

  9. Explain Java Memory Model?

  10. How do you release an object which is locked in a synchronized block

  11. What is servelet?

  12. What is the difference between Applet and japplet?

  13. How do we convert the output of the same form basic english language to the global other languages?

  14. What is the need of super.init(config) in servlets?

  15. What is the differance between equals() method and ==

  16. What is the difference between Point to Point and Publish/Subscribe Messaging Domains

  17. How to communicate between two servlets?

  18. What is the life cycle of MDB

  19. What is the difference between CMP 1.1 and CMP 2.0

  20. Why an onMessage call in Message-driven bean is always a seperate transaction

  21. What is the diffrence between JAVA Mail and JMS Queue

  22. Can a init(ServletConfig config) method be overrided in servlets?

  23. What is session ?how to manage the session?

  24. What is meant by memory leak?

  25. Can an object be garbage collected while it is still reachable?

  26. After converting jsp into servlet which methods are present i.e all 6 methods(jspinit(),_jspService(),jspDestroy(),init(),service(),destroy()) or only 3 methods i.e either jsp life cycle methods or servlet lifecycle methods

  27. Can u kill thread manually. What is the disadvantage

  28. What is the difference between encapsulation & abstraction?

  29. Is instance pooling necessary for entity beans?

  30. What happens if the argument you want ro pass is an object instead of a primitive?

Companies that ask JAVA questions