Interview questions

JAVA interview questions – page 12

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

  1. What is JavaServer Faces UI component class ?

  2. How do I have the JSP-generated servlet subclass my own custom servlet class, instead of the default?

  3. What r the disadvantages of struts?

  4. How do i configure web.xml using with struts.

  5. How do I insert an image file (or other raw data) into a database?

  6. How do you pass control from one JSP page to another?

  7. Does Stateful Session bean support instance pooling?

  8. How to implement an entity bean which the PrimaryKey is an autonumeric?

  9. What JSP lifecycle methods can I override?

  10. What is the difference between include directive & jsp:include action?

  11. What is struts flow? Explain in detail

  12. How can I implement a thread-safe JSP page?

  13. Which of the following allows non repeatable read in JDBC, connection class?

  14. What is the difference between HTTPSession and Stateful Session Bean?

  15. What does the keyword "synchronize" mean in java. When do you use it? What are the disadvantages of synchronization?

  16. The full form of ODBC is ___________

  17. What is multiprogramming?

  18. How are commas used in the intialization and iteration parts of a for statement?

  19. Given A = 1, B = 2, C = 3, D = 4 ? Z = 26, write a java standaloneprogram to encode the word ?TELEPHONE? into numbers.

  20. Is the ternary operator written x : y ? z or x ? y : z ?

  21. Why HTML is called as a language?

  22. How do I use ANT?

  23. Which of the following statement is false regarding the use of setAutoCommit() in JDBC

  24. State true or false :- ResultSet.CONCUR_UPDATABLE used with the result set is used to update the rows directly in the database.

  25. Which isolation level prevents dirty read in JDBC, connection class.

  26. Why doesn't my browser applet connect to the database?

  27. What is package? Define with example?

  28. What do you mean by static methods?

  29. How can you make the connection?

  30. Which of the following statement is true for the Type 2 JDBC driver?

Companies that ask JAVA questions