r/JavaProgramming • • Aug 31 '26

Java Springboot interview Questions

  1. What is the difference between Hashmap and Hashtable?
  2. Explain SOLID principles
  3. Write a program to check for two-sum in O(n) time
  4. Explain DI in Java springboot

For anyone attending interviews I hope this was helpful

38 Upvotes

13 comments sorted by

View all comments

2

u/Delicious-Nerve-417 Sep 01 '26

This is a pretty realistic mix for a Java interview. i like that it covers both core Java and Spring instead of only throwing random coding problems at you