Interview questions

JAVA interview questions – page 62

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

  1. How do you handle events in Java?

  2. What is RMS

  3. What is Socket. How will you create a connection?

  4. How to fire a key event in my test code to make the program act as if a user pressed a key?

  5. How do you communicate in between Applets & Servlets?

  6. Who makes the Struts?

  7. Can a method be static and synchronized

  8. What is the life cycle of an applet?

  9. Can we add Hashtable/HashMap to a vector?

  10. What is the difference between Delegation event model and Inheritance event model?

  11. What is the primary advantage of XML driven Java Beans

  12. Why can't I hold on to a cmr-field (Container Managed Relationship) collection and use it after the transaction commits?

  13. What are the differences between EJB and Java beans

  14. What is typecasting?

  15. What is JDBC. How do you connect to the Database?

  16. What are the various ways of creating a thread. What is difference between them?

  17. What is the difference between wait(), join(), sleep(), notify() & notifyall() methods?

  18. What is the difference between preemptive scheduling and time slicing?

  19. What is the difference between encapsulation and datahiding.explain with example

  20. What is the difference between Hashmap and Hashtable?

  21. What is bean. Where it can be used?

  22. How will you initialize an Applet?

  23. Why did my JDBC code throw a rollback SQLException?

  24. What is Mobitex

  25. What are the differences between AWT and Swing

  26. What is light weight component?

  27. Why do we need Struts?

  28. While copying the objects if you say X a = b and asssume that '=' operator is overloaded then what it will call, a copy constructor or operator overloading function

  29. What is Action Class?

  30. What is the difference between String and StringBuffer?

Companies that ask JAVA questions