Interview questions

JAVA interview questions – page 73

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

  1. Who will create the object?

  2. What is standard , sorted and hash in abap ?

  3. If we have a 10 steps how to override the 4th step in jcl?

  4. Difference between class and object

  5. They asked class A{}class B{}class c{}all the three class saved as a single file,there is no mainmethod in the fileand anothe classM.javaclass m{psvm(String args[]){// here the parent class can access}}

  6. Map map = new HashMap(2);map.add(?1?,?one?);map.add(?2?,?two?);map.add(?3?,?three?); What will happen at this line?

  7. What is serialization?

  8. What is JVM and its role? What is the feature of platformindependency in Java? How does it differ from C++?

  9. .while installing application server in silent mode, if itfailed without creating any logs, how do you trouble shoot ?

  10. How can u handle runtime exceptions in java plz explain with examples briefly?

  11. Give an example for suspending, resuming, and stopping a thread ?

  12. How do you pass the data from one servlet to another servlet?

  13. What is the difference between below examplesString s="vijay";String s=new String("vijay");

  14. Where did you see the information regarding abend codes in jcl?

  15. Can we make a class static without using static keyword?

  16. Different types of modifiers?

  17. What is use of threads how many ways to create thread

  18. Why do we use Design Pattern?

  19. Why java is better then .net?

  20. How do You skip a Step In JCL?

  21. What is Multithreading

  22. Features of JAVA ? In which version of java synchronizedXXX() methods are included in Collections class.

  23. Why servlet is used as controller not JSP?

  24. How to deploy enterprise javabeans?

  25. How to declare unique ArrayList ?

  26. Is that compulsory to have Primarykey-forignkey for joints(outer inner,equal)

  27. What is PreparedStatement?

  28. What is difference between java and .net

  29. How to reverse a linked list without using array & -1?

  30. What is different betweet class and interface in java?

Companies that ask JAVA questions