Add

Java Interview Questions Part 2

12:19:00 AM Rohit Kumar Verma 0 Comments

Java Interview Questions

  1. What is the Standard transaction isolation levels defined by JDBC?
  2. What is the difference between executeUpdate() and executeQuery(-) methods?
  3. Can we execute select and non-select SQL queries using single method call?
  4. What is ResultSet?
  5. What are the types of ResultSet?
  6. What are the types of statement in JDBC?
  7. What are the differences between three different types of statements in JDBC?
  8. What is Connection Pooling? What are the advantages of using a connection pool?
  9. What is Transaction management?
  10. When to use Simple Statement and when to use Prepared Statement ?
  11. What does setAutoCommit(false) do?
  12. What are database warnings and how can i get them?
  13. How will you retreve database warnings from a connection objects in JDBC?
  14. What does the clearWarning() method do?
  15. What happens when i try to call the getWarning() methods on a connection/.statement/resultset after it is closed?
  16. Why do we not set path and classpath for Gaming Softwares?
  17. What are the different ways to set path and classpath variables?
  18. Is it possible to set multiple softwares in path variables?
  19. What is the role of ";" in path and  classpath?
  20. What is the difference between set and export command?
  21. What is the difference between  %path% and $path?
  22. How will you solve if you find the "ERROR: could not find or load main class"?
  23. What are the ten programming elements of java language?
  24. List out all types of programming elements with their sub types?
  25. What is the package and sub package, what is the use of it?
  26. What is an Interface and what is the use of it?
  27. What is an abstract class and what is the use of it?
  28. What is class?
  29. What is final class?
  30. What is enum?
  31. What is Annotation?
  32. What is variable?
  33. What is method?
  34. What is constructor?
  35. What is block?
  36. What is an inner class?
  37. What is the difference between concrete class, abstract class and interface?
  38. What are the different mathematical values we can store in variables?
  39. What is the difference between initialization and business logic?
  40. Can we write business logic in constructor?
  41. What is the use of import statement?
  42. What is the difference between static import and import?
Java Interview Questions Part 1                                                                  Java Interview Questions Part 3

0 comments: