Interview questions

JAVA interview questions – page 59

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

  1. What are the disadvantages of reference counting in garbage collection

  2. What is Provisioning ?

  3. Give the Details of XML files used in Validator Framework?

  4. What is the webserver used for running the Servlets?

  5. Which versions of the EJB specification are supported by WebLogic Server?

  6. In RMI, is the server object first loaded into the memory and then the stub reference is sent to the client or a stub reference is directly sent to the client?

  7. How does garbage collection work

  8. What is innerclass?

  9. And What situation , each of the 4 drivers used?

  10. What are the various layouts available. What is the difference between them?

  11. What is the basic difference between Publish Subscribe model and P2P model?

  12. What is JNI?

  13. What is transient variable?

  14. What classes of exceptions may be caught by a catch clause?

  15. How will you call an Applet using a Java Script function?

  16. What is the difference between Observable and Observer?

  17. What is the diffrence between an Abstract class and Interface?

  18. What is the relationship between the Java Message Service and Enterprise JavaBeans components?

  19. Why are some of the class and element names counter-intuitive?

  20. Can we send object using Sockets?

  21. How is the JMS API aligned with the CORBA Notification Service?

  22. Is it possible to acknowledge individual messages on a queue without affecting previously received, but as yet unacknowledged, messages?

  23. If there are 2 different versions of object streams on disk and only one object definition, how will the JVM reject the wrong one? Can you fool the JVM

  24. What about JSTL and JavaServer Faces ?

  25. What is the RMI and Socket?

  26. Do we need to explicitly invoke org.eclipse.swt.graphics.Image.dispose()?

  27. How all can you instantiate final members

  28. What is PersonalJava

  29. What is the difference between yielding and sleeping?

  30. What is the difference between File and RandomFileAccess classes?

Companies that ask JAVA questions