Interview questions

Software Developer interview questions – page 32

945 questions. Tap “Show answer” to check yourself.

  1. Can we access the non-final local variable, inside the local inner class?

  2. How many ways we can create the string object?

  3. Can a class have an interface?

  4. Can an Interface have a class?

  5. Why java uses the concept of string literal?

  6. Define static synchronization?

  7. Tell the difference between List and Set?

  8. List out the difference between HashSet and TreeSet?

  9. List out the difference between HashMap and TreeMap?

  10. Tell the difference between Set and Map?

  11. Which function is used to move the stream pointer for the purpose of writing data from stream?

  12. Which function is used to move the stream pointer for the purpose of reading data from stream?

  13. Are the exceptions and error same?

  14. Are class functions taken into consideration as part of the object size?

  15. What happens if an exception is thrown outside a try block?

Companies that ask Software Developer questions