Interview questions

Software Engineer interview questions – page 14

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

  1. Tell the difference between error and an exception?

  2. When a thread is created and started, what is its initial state?

  3. What do you mean by runtime polymorphism or dynamic method dispatch?

  4. Is it necessary that each try block must be followed by a catch block?

  5. Why do we need wrapper classes?

  6. What do you mean by Locale class?

  7. Tell the difference between an Interface and an Abstract class?

  8. Can a top level class be private or protected?

  9. What does const keyword do?

  10. Tell the difference between declaring a variable and defining a variable?

  11. How many types of streams are in C?

  12. What do you mean by text and binary modes?

  13. Can static variables be declared in a header file?

  14. When should a type cast be used?

  15. Tell the difference between a string copy (strcpy) and a memory copy (memcpy)?

  16. What do you mean by a static function?

  17. What is the benefit of using const for declaring constants over #define?

  18. Tell the way we can convert a number to a string?

  19. Can you have virtual functions in Java?

  20. What do you mean by final variable?

  21. Is there any possibility that we can override the overloaded method?

  22. Tell; difference between aggregation and composition?

  23. Why Java does not support pointers?

  24. Define object cloning?

  25. Can we override static method?

  26. Why we cannot override static method?

  27. Tell the super class for every class?

  28. Why multiple inheritance is not supported in java?

  29. Define operator overloading?

  30. Can we initialize a class/structure member variable as soon as the same is defined?

Companies that ask Software Engineer questions