Interview questions

JAVA interview questions – page 39

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

  1. What is the role of the webserver?

  2. Whats the difference in data types of java and c++?2)what is the use of finally block?3)what is encapsulation in oops?how is it achieved in Java?

  3. When, where and why we are using overloading and overriding?

  4. Difference: Java Beans, Servlets

  5. How to create bound property in bean application?

  6. I want to create two instances of a class ,But when trying for creating third instance it should not allow me to create . what i have to do for making this?

  7. What is the relationship between an event-listener interface and an event adapterclass?

  8. What is the difference between StringBuffer and String class?

  9. What is it object serialization ?

  10. What is the relation between the InfoBus and RMI?

  11. What is client server computing?

  12. How would you keep track of a session

  13. What are Struts and jini?

  14. What is collection framework?

  15. What's the difference between == and equals method?

  16. Is sizeof a keyword?

  17. What is the difference between Model Data and Default Model Data

  18. What is W-CDMA?

  19. What are the security implications for downloading Beans over the Internet?

  20. What is Constructor and Virtual function. Can we call Virtual funciton in a constructor?

  21. How to apply native code in java?

  22. What happen if we write many curly braces in main method and write println method inside it .program will compile or not?

  23. Which method of the Component class is used to set the position and size of acomponent

  24. What is collction framework? How it is working? Explain

  25. What is JIT? Is it bundled with JDK? If so what is the role of interpreter(java)? plz explain in detail.

  26. How do I instantiate a bean whose constructor accepts parameters using the useBean tag?

  27. What is the difference between the Boolean & operator and the && operator?

  28. What is mutable and immutable in Strings?

  29. How do you load an Image in a Servlet?

  30. What is the main difference between input, output stream?

Companies that ask JAVA questions