Interview questions

JAVA interview questions – page 13

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

  1. Does Java have "goto"?

  2. Which of the following allows phantom read in JDBC, connection class?

  3. An I run Seam outside of JBoss AS?

  4. State true or falseCan we retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column ?

  5. How does the race condition occur?

  6. What are the differences between Java & C++ in terms of its features?

  7. What is the difference between Resultset and Rowset?

  8. Why does the toolkit only support Tomcat?

  9. What is IOC in springs?

  10. What is an Applet? Should applets have constructors?

  11. How to invoke servlet from ejb components?

  12. What is Ant tool and use of this tool?

  13. What do you mean by virtual methods?

  14. What version of JBoss AS do I need to run Seam?

  15. What is the difference between the getRequestDispatcher(String path) method of javax.servlet.ServletRequest interface and javax.servlet.ServletContext interface?

  16. Does the JDBC-ODBC Bridge support multiple concurrent open statements per connection ?

  17. How do you check whether the session is active in Stateful session bean

  18. Assume you are experiencing a deadlock situation on a java server application ? what is your approach to identify the problem.?

  19. Which of the following statement is false regarding the exceptions in JDBC

  20. What's causing ClassFormatErrors with my applet?

  21. How many times instantiation phase executed in Servlets? Explain briefly.

  22. If 4 different drivers are loaded, & created 4 different statements calling diffener tables from same database, how driver is recognized for each statement?

  23. Does Java have destructors?

  24. Already we have http session in servlets. so why we use session beans ejb?

  25. When you will chose CMP and BMP?

  26. Which code line must be set before any of the lines that use the PrintWriter?

  27. When a servlet accepts a call from a client, it receives two objects. What are they?

  28. JDBC-ODBC Bridge does not work with Microsoft J++, because it does not support ___________________

  29. Why is AWS building an Eclipse plug-in?

  30. What is difference between servlet and jsp

Companies that ask JAVA questions