Interview questions

JAVA interview questions – page 36

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

  1. What happens when a thread cannot acquire a lock on an object?

  2. What class is the top of the AWT event hierarchy?

  3. Write a simple bean program?

  4. What is a refferent?

  5. It is essential to catch all types of exceptions

  6. If two overloaded methods are-Test(Object xyz) and test(Customer cust)[Assume Customer is a class with member name of type String].Now if we call test(null), which method will be called? why?

  7. How to swap 2 variables without using third temp variable in java?

  8. What is the difference between throw and throws?

  9. For what purpose java language is named as java?

  10. Write a program on RMI and JDBC using Stored Procedure?

  11. What is the difference between putting a class as abstract or if any of method in class is declared as abstract diference of these two while extending these two types of classes

  12. In overriding, the super class method throws I/O exception & in sub class that method throws arithmetic exception. what happens?

  13. What is difference between runnable and thread ?

  14. What is meant by class loader. How many types are there. When will we use them?

  15. Which class is the super class for all classes in java.lang package?

  16. How does Java handle integer overflows and underflows?

  17. What is the immediate superclass of the Dialog class?

  18. Expain about the AJAX technology in Java that is very HOT in software market.What is Jasper Report.?

  19. When we are sending the serialized array object thro the network, what is being passed ? is the value or the reference ?

  20. What is JCP?

  21. Strings are immutable.But String s="Hello";String s1=s+"World";S.O.P(s1); means printing "HelloWorld".How ?

  22. What is difference between array & arraylist?

  23. What is JBOSS?

  24. If we have two public classes in a single java file ,how i have to give the name of the particular java file and how i can compile it?

  25. How to control serialization in java beans?

  26. What is JavaHQ ?

  27. What is GCF?

  28. How to access Blob and Clob data values from oracle thru java?

  29. Why java dosen't support pointers?

  30. What is Early Binding?

Companies that ask JAVA questions