Interview questions

JAVA interview questions – page 56

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

  1. What is Deck ?

  2. Which security principal does an MDB use to connect to JMS?

  3. How will you pass values from HTML page to the Servlet?

  4. Why is ActionForm a base class rather than an interface?

  5. Can we declare multiple main() methods in multiple classes.ie can we have each main method in its class in our program?

  6. Does the JMS API provide a version of a distributed Java event model?

  7. To a server method, the client wants to send a value 20, when this value exceeds 20 a message should be sent to the client. What will you do for achieving for this?

  8. What is T9?

  9. Why doesn't the JMS API provide end-to-end synchronous message delivery and notification of delivery?

  10. Why doesn't the JMS API provide subscription notification? If it were possible for a publisher to detect when subscribers for a topic existed, it could inhibit publication on unsubscribed topics.

  11. How can I avoid violating NOT NULL constraints on foreign keys that are mapped to cmr-fields?

  12. What is the relationship between the Java Message Service and the Java Naming and Directory Interface (JNDI) API?

  13. How will you communicate between two Applets?

  14. What do you know about the garbate collector?

  15. What is the use of MapMessage?

  16. Why doesn't the JMS API provide a send-to-list mechanism?

  17. What are the primitive types in Java?

  18. How do I install Struts?

  19. What is EMF?

  20. What are the various access modifiers in Java. Differences between them?

  21. Why was reload removed from Struts (since 1.1)?

  22. What is Reflection. Uses of Reflection?

  23. What is the difference between InputStream/Outputstream classes?

  24. Why should developers use the Java Message Service?

  25. What is the difference between Classpath and Import?

  26. What is the difference between C++ & Java?

  27. Why is it called Struts?

  28. What are the differences between JIT and HotSpot

  29. Where can I find the Java Message Service specification?

  30. Can the abstract class be final?

Companies that ask JAVA questions