Interview questions

JAVA interview questions – page 67

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

  1. Difference between overloading and Overriding. <Giving a confusing example to test the concept.>(also asked in PA Consultancy Group,iflex,Value chain,IBM,CTS,Accenture, Tarang>

  2. What is compile time polymorphism?

  3. What is filter ?

  4. Where to use join method and explain with real timesenario?and programatical explenation also..

  5. Is ResultSet class?

  6. What is JVM ? use of JVM?

  7. How will be submit 1 jcl by other jcl? means that how 'll submit one job by other job?

  8. Difference between JDBC and Hibernate? Give one sample based on the variance?

  9. Can we write the code in the applet?

  10. Whats is mean by class.forName()whats the return type of class

  11. 1. What is garbage collection and what is it used for ?

  12. Can u give some realtime example in ploymorphism? and inheritance?

  13. Write a java program to get a string of words and print the numbers of each word count in descending order

  14. What is the differances between a abstract class and interface

  15. Diff between Comparator and Comparable?

  16. How to print hello world every second till i have pressedenter key ?

  17. If num=687;U have to getnum=6+8+7;

  18. How a class can implement an interface?

  19. IS method overriding is Duplication of Methods?

  20. What is symbolic parameters in jcl, what is a temparary data set ? where do u use ?

  21. What is the difference between servlets and jsp?

  22. What is difference between type 4 driver and type 1 driver?

  23. What is difference between String buffer and String builder?

  24. What us Dyna action form?

  25. What are design patterns?

  26. What is difference between vector and arraylist?.

  27. Suppose i have two threads t1 and t2 are running.How themain thread will know that the two threads t1,t2 executionhas completed?

  28. What are ISOLATION LEVELS? Where do we need to specify them in compiling JCL (Exactly which statement and what is syntax for it)?

  29. Can a static method be overridden

  30. What is an idle thread?

Companies that ask JAVA questions