Interview questions

JAVA interview questions – page 48

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

  1. What modifiers may be used with an interface declaration?

  2. What is the range of the short type?

  3. What value does readLine() return when it has reached the end of a file?

  4. Advantages of Implementing Runnable over extending Thread

  5. It is a saying that static methods in JAVA programs should be minimised. What is the reason for this? any problems arise or there is any performance measures to be looked into it.

  6. What is the difference between a CallableStatement and PreparedStatement?

  7. What are/is Enterprise JavaBeans?

  8. In what situations we can use innerclass and anonymous class

  9. What is meant by Servelet. What are the parameters of the service method?

  10. What is the datatypes in java?

  11. How can we store elements in arraylist? as by using index or by node?

  12. What is the relationship between clipping and repainting?

  13. What is I-Application?

  14. What is 3G?

  15. After a thread is started, via its start() m?

  16. How We Can We write our own exceptions?

  17. How can I swap two variables without using a third variable? Can u plz tell me the logic behind it..?

  18. WHEN UR USING ARRAYLIST AND LIKEDLIST AND VECTOR AND HASHMAP AND HASHTABLE?

  19. What's JBoss JBPM ?

  20. Tell me the latest versions in JAVA related areas?

  21. Can i limit the initial capacity of vector in java?

  22. What is a native method?

  23. How to use printer option in java or is there any method to use print command?

  24. Can dead thread restart?

  25. Why do I get a duplicate name error when loading a JAR file?

  26. What is the highest-level event class of the event-delegation model?

  27. How many ways to create Thread and which one is good? runnable interface or Thread class?

  28. What is JVM Heap Size? How does it affect the performance of the Application?

  29. What is the relationship between Enterprise JavaBeans and JavaBeans?

  30. What is meant by cookies? Explain.

Companies that ask JAVA questions