IBM Java Interview Questions

Company Name :  IBM

Interview Questions:

  1. What is Difference between interface and abstract class ?
  2. Can u write final method in interface ? No
  3. Can u write final method in abstract class ? Yes, Only for non abstract methods
  4. What is Difference between iterator and list iterator?
  5. Difference between sinchronized block and synchronized method ? View Answer
  6. Difference between sting and string buffer class ?
  7. How to get the session object in jsp ?
  8. How to get the sessionfactory obj in hibernate ? View Answer
  9. How to handle the runtime exception in jsp?
  10. Difference between method overloading and overriding ?
  11. Difference between and ?
  12. I have 1 to 100 elements in array unordered,one element missed find that one?
  13. Difference between equals() and hashcode()?
  14. What is comparator ? View Answer
  15. We have equals() to compare two methods then why comparator again ?
  16. What is autowiring in spring ?
  17. We can get the container obj through Beanfactory and Applicationcontext what is the difference in both ?
  18. What is the Difference between get() and load() in hibernate ?
  19. Difference between page and pagecontext in jsp ?
  20. What is application in jsp ?
  21. How to create the userdefined immutable class ? View Answer

      Attended Any Interviews? Please send us Questions to