Interview questions

JAVA interview questions – page 75

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

  1. What are the major differences between jdk1.4 and jdk1.5?

  2. Whats is mean by object and class?

  3. How can you switch onemodule to another module by switch action class plz explain with exapmle?

  4. What is overloading in java?

  5. How to use COND Parameter in jcl

  6. JSP is by default thread safe or not? what is the meaning ofisThreadSafe="true" and isThreadSafe="false". Explain it?

  7. What is the difference between abstract class and Interface?where we can use it in realtime projects?

  8. What is meant by JFC?

  9. In HashTable I am storing null value..then what is the error it will show

  10. What is jsp? a technology ,a language or something else ?

  11. What debugging tool that can be used to debug the java programs?

  12. Can i override service method

  13. What is meant by class loader and how many types are there?

  14. How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute?

  15. Can we define constructor in Servlet class?

  16. Is java pure object oriented or not? if yes, give the validreason.

  17. How many JDBC drivers ?name them?

  18. When we don't write any constructor for the servlet, howdoes container create an instance of servlet?

  19. Why Wait and notify are kept in Object class although they are used only with Thread Class

  20. What is platform independence in java?

  21. What are the different kinds of threads?

  22. What is servlet life cycle?

  23. What is the IDE that you have used to write your java programs?

  24. We have a 100 classes at that time which class we have towrite main method?

  25. In my jcl have 20 steps step1,step2,... step20.and i have to execute step1,step2,..and skip the step3 and remaing step4,step5 are execute? i want skip step3 only? what code u can write?

  26. What is thread & process?

  27. Is there any need to import java.lang package?

  28. What string of characters,when printed out to a textfile,will create a new line in the text file?

  29. Select the odd one out. a. Java b. Lisp c. Smalltalk d. Eiffel.

  30. Are you familiar with the term MESI?

Companies that ask JAVA questions