Java Programmer Interview Questions

26,925 java programmer interview questions shared by candidates

One of the key questions they asked me was about my experience in Java and Spring Boot projects, specifically how I designed microservices and ensured performance and security. This helped them assess both my technical depth and practical problem-solving ability.
avatar

Full Stack Java Developer

Interviewed at Citi

3.6
Aug 24, 2025

One of the key questions they asked me was about my experience in Java and Spring Boot projects, specifically how I designed microservices and ensured performance and security. This helped them assess both my technical depth and practical problem-solving ability.

Store the elements in a stack and have a function that returns the minimum value without iterating again over it. Design an auto-complete mechanism similar to google's autocomplete mechanism. What are default methods in Interfaces in Java 8 , why are they needed? If a class extends two interfaces having the same default method , what will happen then How will you make an Employee class as your HashMap key.
avatar

Java Software Engineer

Interviewed at Accenture

3.7
Apr 7, 2021

Store the elements in a stack and have a function that returns the minimum value without iterating again over it. Design an auto-complete mechanism similar to google's autocomplete mechanism. What are default methods in Interfaces in Java 8 , why are they needed? If a class extends two interfaces having the same default method , what will happen then How will you make an Employee class as your HashMap key.

Viewing 2121 - 2130 interview questions

Glassdoor has 26,925 interview questions and reports from Java programmer interviews. Prepare for your interview. Get hired. Love your job.