Interview questions

JAVA interview questions – page 20

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

  1. When to use a class and when to use an Abstract class?

  2. How garbage collector works

  3. What is UML patterns?

  4. Write a java standalone program / method to take out all the specialcharacters in the string provided below.//ASCII a ? z (97 ? 122)String sSENTENCE = ? This!is^a$t*e)s|t?;

  5. How can store images in a data base?

  6. All the method in interface to be implemented in derived class.Suppose The particular interface is used 1000 of classes,we need some changes to the method in interface,what to be done?

  7. What are the various isolation levels in a transaction and differences between them

  8. What is the purpose of the toolkit in the Abstract Window Toolkit (AWT)? How does AWT work?

  9. Are the build.cmd and the build.sh scripts still being used?

  10. What is the need of BatchUpdates?

  11. What are the different types of Statements?

  12. Which is the best driver among the 4 jdbc drivers?how can we load that driver?

  13. What is the importance of the Narrow class in RMI?

  14. Difference between jsp writer and print writer.

  15. What is the purpose of setAutoCommit( )?

  16. How EjbQL ara impemented when it is necessary?

  17. How to create .xsl by using java?

  18. What Class.forName will do while loading drivers?

  19. Which one is better to create a thread by implementing Runnable or By Extending Thread in java?

  20. What does the "final" keyword mean in front of a variable? A method? A class?

  21. What is Session Bean. What are the various types of Session Bean?

  22. How HTTP Servlet handles client requests?

  23. What are the file used in hibernate?

  24. How do u create objects at runtime?

  25. Give a scenario where you have used stateless session beans and why was it necessary?

  26. What are the Applet's Life Cycle methods? Explain them?

  27. When to use Interface?

  28. How to convert xml files into xsl files using java?

  29. Which of the following is false regarding the Type 3 JDBC driver

  30. How do clients learn about new WebLogic Server instances?

Companies that ask JAVA questions