Interview questions

JAVA interview questions – page 42

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

  1. What is the purpose of the finally clause of a try-catch-finally statement?

  2. What is the purpose of interface? And tell the difference between the class and interface?

  3. What are introspection API in java beans?

  4. Why would a developer need the JavaBeans Migration Assistant for ActiveX?

  5. How i can validate the user, Is there any java api is there for that. Or i can use my one business logic. If both are possible, Then which one is the best way for real time.

  6. Difference between "APPLET" and "APPLICATION"

  7. Which is superclass of Exception?many people think that object,no there is particular class which is superclass of all exception it starts with letter B,plz tell me

  8. Constructor can not be inherited.Why? Tell me the reason.

  9. Does the InfoBus compete with JavaBeans?

  10. What advantage do Java's layout managers provide over traditional windowingsystems?

  11. How many JVM could be run on an operating system. if only one then what is the logical reason.

  12. Can I create final executable from Java?

  13. Give example of : High severity & Low priority

  14. What is the difference between Serializalble and Externalizable interface?

  15. Why we cannot define constructor of super class in a sub class ?

  16. Wat is the disadvantage of threads?

  17. What gives java it's "write once and run anywhere" nature?

  18. What is the difference between ActionErrors and ActionMessages?

  19. Why does not support multiple Inheritance?

  20. What is a Bean? Why isn't a Bean an Applet?

  21. How can u move/drag a component placed in Swing Container?

  22. What are interfaces? or How to support multiple inheritance in Java?

  23. What is the advantage of the event-delegation model over the earlier eventinheritancemodel

  24. What is cHTML?

  25. What is Collection API?

  26. What is the main difficulties that you are faced in your project?

  27. How to call ejb from Struts?

  28. How many threads will be created for a java program, when it is compail & run? and what are they?

  29. Is "abc" a primitive value?

  30. Describe java's security model.

Companies that ask JAVA questions