Interview questions

JAVA interview questions – page 78

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

  1. What is hash map

  2. What is the classpath of a plug-in?

  3. How can enroll new linked list series

  4. How do I create an updatable ResultSet?

  5. What is a task's priority and how is it used in scheduling?

  6. What is the difference between TCP and UDP?

  7. Tell wordcount program on telcon/telephone

  8. What are the steps for serialization

  9. What are the two major components of JDBC?

  10. What is the difference b/w oops , polymorphism, overloading and overriding?

  11. Where can we find the compiled file of jsp in the directory struture.

  12. Can constructors be synchronized in Java?

  13. What is the difference b/w string buffer, string and string builder.

  14. What is the functionality of try, catch and finally blocks?

  15. Can a Byte object be cast to a double value?

  16. Whats the difference between equals() and ==?

  17. How can I retrieve a String or other object type without creating a new object each time?

  18. Which of the following statements is true regarding the failing of the class.forName in jdk 1.1.x.

  19. How can I determine where a given table is referenced via foreign keys?

  20. How can I pool my database connections so I don't have to keep reconnecting to the database?

  21. Can I invoke a JSP error page from a servlet?

  22. Why Java is case sensitive?

  23. What are advantages of JSP?

  24. Can I use multiple HTML form elements with the same name?

  25. We have two servlets A,B .one jsp. A does not authorised to access that jsp. B have authorisation toaccess to that jsp.But A does not know that B has authorisation.So howyou access the jsp from A.

  26. What is abstract class? What is polymorphism? give real life example of inheritance? Explain exception handling?

  27. What is class overloading in java?what is the significance of it?

  28. What is the tag used in struts to dispaly data to web page?

  29. What type of data is used in java?

  30. In Java, how does System.out.println() work?

Companies that ask JAVA questions