Interview questions

Software Engineer interview questions – page 13

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

  1. Define Object with respect to Java?

  2. Define a Local Variable?

  3. Tell two Java IDE's?

  4. There are 2 toy cars facing each other at a distance of 500 cm from each other. Then they moves forward by 100 cm at a speed of 50 cm/s and then moves backward by 50 cm at a speed of 25 cm/s. Evaluate the time of their collision.

  5. Define an Exception with respect to java?

  6. A,B and C needs 8, 12 and 16 days respectively to finish a task. How many days will it take if A works for 2 days then B works on it until 25% of the job is left for C to do, and C completes the work?

  7. In a Bag the ratio of the no. of white balls to black balls is 1:2. If 9 grey balls are added the ratio of nos. of white, black and grey become 2:4:3. What is the number of black balls in the bag?

  8. Mention the difference between StringBuffer and StringBuilder class?

  9. In java for pattern matching with regular expressions which package is used?

  10. What is Checked Exceptions?

  11. Can you tell java.util.regex consists of which classes?

  12. What is composition?

  13. What do you think of NullPointer Exception?

  14. Tell the difference between a Window and a Frame?

  15. Define function overloading?

  16. Tell me the difference between Overloading and Overriding?

  17. Define final class?

  18. Define Wrapper classes?

  19. Differentiate between yielding and sleeping?

  20. Why do you think Vector class is used?

  21. What are the advantages and disadvantages of Recursive algorithms?

  22. What happens if you free a pointer twice?

  23. How can we print an address?

  24. How does free() method know about how much memory to release?

  25. Tell the difference between malloc() and calloc()?

  26. What do you mean by the heap in memory?

  27. What do you think is the difference between #include <file> and #include "file" ?

  28. Describe recursive functions?

  29. Can #include handle other file formats than .h?

  30. Tell the value of NULL?

Companies that ask Software Engineer questions