Java Software Engineer Interview Questions

3,072 java software engineer interview questions shared by candidates

Design an Elevator system Problem on Linked list and Hashing Observer pattern and Questions on Adapter pattern Question on XPATH queries Question on Memory mgmt and Performance Questions on Garbage collection and stack queues
avatar

Senior Software Engineer Java

Interviewed at IBM

3.9
Aug 13, 2015

Design an Elevator system Problem on Linked list and Hashing Observer pattern and Questions on Adapter pattern Question on XPATH queries Question on Memory mgmt and Performance Questions on Garbage collection and stack queues

OOP & Code Review Round: I was presented with a large, buggy codebase and asked to review it live in an IDE. The focus was on identifying anti-patterns, code smells, and suggesting improvements and bug fixes. No actual coding was required—only live commenting and feedback on the existing implementation.
avatar

Java Software Engineer

Interviewed at Squarespace

3.6
Apr 10, 2025

OOP & Code Review Round: I was presented with a large, buggy codebase and asked to review it live in an IDE. The focus was on identifying anti-patterns, code smells, and suggesting improvements and bug fixes. No actual coding was required—only live commenting and feedback on the existing implementation.

They asked In-depth java concepts and Micro services . if(null==null){ do }else{ do } this was one of the question and one more how can we use @Transactional in microservices which are inter conntected to each other how will you roll back the changes if exception occurs
avatar

Software Engineer - Java Developer

Interviewed at Inspire Brands

3.1
Jun 26, 2024

They asked In-depth java concepts and Micro services . if(null==null){ do }else{ do } this was one of the question and one more how can we use @Transactional in microservices which are inter conntected to each other how will you roll back the changes if exception occurs

Viewing 2311 - 2320 interview questions

Glassdoor has 3,072 interview questions and reports from Java software engineer interviews. Prepare for your interview. Get hired. Love your job.