Interview questions

JAVA interview questions – page 85

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

  1. Is there any limitation of using Inheritance?

  2. What is the immediate superclass of the Applet class?

  3. What do you think is the purpose of the System class?

  4. What do you mean by a transient variable?

  5. Tell the difference between a break statement and a continue statement?

  6. Explain the Collections API?

  7. Explain synchronization?

  8. If a variable is declared as private, where may the variable be accessed?

  9. Can constructor be inherited?

  10. What do you mean by the immediate superclass of Menu?

  11. Does Java allow Default Arguments?

  12. What do you mean by a Values Collection View ?

  13. Describe type casting?

  14. Define Dynamic Binding(late binding)?

  15. Tell the advantages of ArrayList over arrays?

  16. What do you mean by a Socket?

  17. Can a vector contain heterogenous objects?

  18. Define the SimpleTimeZone class?

  19. Tell the advantages of Java Sockets?

  20. Where is the import statement used in a Java program?

  21. Tell the difference between the size and capacity of a Vector?

  22. What environment variables do I need to set on my machine in order to be able to run Java programs?

  23. Why Generics are used in Java?

  24. Which method is used to create the daemon thread?

  25. What do you mean by Nested top-level class?

  26. Define Externalizable interface?

  27. Explain daemon thread?

  28. What do you mean by the Gregorian Calendar class?

  29. Tell the difference between inner class and nested class?

  30. Which object oriented Concept is achieved by using overloading and overriding?

Companies that ask JAVA questions