Interview questions

JAVA interview questions – page 88

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

  1. Which containers use a FlowLayout as their default layout?

  2. What kind of thread is the Garbage collector thread?

  3. Can you access the private method from outside the class?

  4. What do you mean by transient keyword?

  5. What is the purpose of the Runtime class?

  6. Define an I/O filter?

  7. Explain reflection?

  8. What do you mean by a native method?

  9. Which containers use a border layout as their default layout?

  10. Can an unrefrenced objects be refrenced again?

  11. Tell the difference between preemptive scheduling and time slicing?

  12. Define a lightweight component?

  13. Is it possible to start a thread twice?

  14. Can RMI and Corba based applications interact?

  15. What do you mean by a Java Bean?

  16. Define thread?

  17. What are peerless components?

  18. Explain a heavyweight component?

  19. Define static synchronization?

  20. Tell the difference between List and Set?

  21. List out the difference between HashSet and TreeSet?

  22. Define shutdown hook?

  23. List out the difference between HashMap and TreeMap?

  24. Tell the difference between Set and Map?

  25. What does the JDBC DatabaseMetaData interface?

  26. What is batch processing and how to perform batch processing in JDBC?

  27. How can we store and retrieve images from the database?

  28. Which interface is responsible for transaction management in JDBC?

  29. What does the JDBC ResultSetMetaData interface?

  30. What does the JDBC ResultSet interface?

Companies that ask JAVA questions