Interview questions

JAVA interview questions

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

  1. parsers dom vs sax parser

  2. What is socket and server socket?

  3. How to increment eacl element in a list ? eg: incrlist {1 2 3} =>2 3 4

  4. What is the difference between jsp and servlets ?

  5. How to extends one jsp page to another jsp page with realtime example?

  6. What is the enitre process of using smart forms to create forms?

  7. Can we use methods in JSP? If so where the methods are stored in servlet class file?

  8. Define Static Block.

  9. What are wrapper classes

  10. What is difference between java and c#

  11. What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?

  12. What is connection pooling

  13. What are access specifiers?

  14. What is cloud computing

  15. Java (keywords explanation like static, final, finally),exception handling, inheritance

  16. Hibernate 3.0 congiguration and mappring

  17. Spring MVC and framework 3.0

  18. JSP, servlet, MVC Architecture

  19. Spring Filter/Security

  20. What the difference between Data Reader and Data sets ?

  21. Struts, hibernate, java, java script, ajaz

  22. Explain about ur academic project

  23. How do you determine the size of an object in Java?

  24. I have created two buttons in a JSP page.i want to go to one page when button1 is clicked and to other page when button2 is clicked..how can i do this?..Plz help me..

  25. Q: Why should developers use the Java Message Service?

  26. Two parts of JDBC 2.0 API are * The JDBC 2.0 core API (the java.sql package), which is included in the JavaTM 2 SDK, Standard Edition * The JDBC 2.0 Optional Package API (the javax.sql package), which is available separately or as part of the Java

  27. Q: What is the relationship between the Java Message Service, the Java Transaction API, and the Java Transaction Service?

  28. What is the size of integer variable in JAVA?

  29. What is System in System.out.println in Java?

  30. When I intersperse table creation or other DDL statements with DML statements, I have a problem with a transaction being commited before I want it to be. Everything ( commit and rollback ) works fine as long as I don't create another table. How can I

Companies that ask JAVA questions