Interview questions

JAVA interview questions – page 50

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

  1. Why is collection framework called as framework?

  2. What is the interface of thread?

  3. How can you load DLL files when your java class is loading first time ?

  4. Why there is no main method in servlets/jsps?

  5. What is the purpose of finalization?

  6. What is serialization? What is transient? What is the default value of a transient variable?

  7. What's the difference b/w Java command line arg.s & C command line arg.s?

  8. What is the difference between Inheritance and Aggrigation?

  9. What is default Buffersize of any Bufferedclass?

  10. What is the difference between interrupt() and join() in threads? Give an example program?

  11. Why is the Object class super class of all the classes?

  12. What is similarities between an Abstract class and Interface?

  13. How have you done validation of the fileds in your project?

  14. In a Container there are 5 components. I want to display the all the components names, how will you do that?

  15. We know that Object class is super class of every class & a class extends only one class. sohow is it possible to a class to extend other than Object class?

  16. What is MVC architecture

  17. What is the functionality of the stub?

  18. Can wehave run() method directly without start() method in threads?

  19. What interfaces and classes support collection framework?

  20. What is the relationship between a method's throws clause and the exceptionsthat can bethrown during

  21. What does validate() pack() mean in Frames

  22. What is the difference between runtime polimorphism, and compiletime polimorphism ?

  23. Why does Java not support Multiple Inheritance?

  24. What is the GregorianCalendar class?

  25. Why would you use a synchronized block vs. synchronized method?

  26. How you will handle errors and exceptions using Struts?

  27. How do you monitor JBoss and detect the bottleneck of an application?

  28. What is layout manager ? How does it work ?

  29. What is the difference between main() and Main()

  30. When will JavaBeans be supported on the [fill in the blank] platform/operating system?

Companies that ask JAVA questions