Java Software Engineer Interview Questions

3,079 java software engineer interview questions shared by candidates

3rd Interview, onsite : -code a class that represent a rectangle -given a point, determine if its inside that rectangle -draw a binary tree of 3 levels -Code a class to represent a binary tree -write a function to count number of nodes in a binary tree -how does insertion and retrieval work in a BST ? whats the running time -define Big(O) notation -write a class to represent a linked list -how to discover if there's a loop in the linked list ? -given a phrase, reverse words i.e: "I want to eat" becomes "eat to want I" -given a phrase, find first non repeating character -whats agile -some behavioral questions
avatar

Junior Java Software Engineer

Interviewed at Loc8.com

4.6
Feb 2, 2015

3rd Interview, onsite : -code a class that represent a rectangle -given a point, determine if its inside that rectangle -draw a binary tree of 3 levels -Code a class to represent a binary tree -write a function to count number of nodes in a binary tree -how does insertion and retrieval work in a BST ? whats the running time -define Big(O) notation -write a class to represent a linked list -how to discover if there's a loop in the linked list ? -given a phrase, reverse words i.e: "I want to eat" becomes "eat to want I" -given a phrase, find first non repeating character -whats agile -some behavioral questions

In First Round :- It is assessment test 2 coding questions and some basic Java Questions. In Second Round :- coding and some basic java questions. In Third Round :- some basic java questions which is take by client. In Fourth Round :- it is HR discussion.
avatar

Software Engineer - Java Developer

Interviewed at NextGen Healthcare

3.1
Feb 29, 2024

In First Round :- It is assessment test 2 coding questions and some basic Java Questions. In Second Round :- coding and some basic java questions. In Third Round :- some basic java questions which is take by client. In Fourth Round :- it is HR discussion.

1) What is the heap? 2) How hashmap is designed? 3) Mechanisms of thread-safety 4) Indexes 5) SOLID principles 6) How I would test the app from round 2 and which layers are critical to test? 7) How I would implement a specific feature - related to caching, scheduled calculations, etc. 8) How I implemented exceptions handling? 9) How I would design a database with a lot of data persisting/querying in the database? 10) ...
avatar

Java Software Engineer

Interviewed at Seven Bridges

4.1
Aug 15, 2021

1) What is the heap? 2) How hashmap is designed? 3) Mechanisms of thread-safety 4) Indexes 5) SOLID principles 6) How I would test the app from round 2 and which layers are critical to test? 7) How I would implement a specific feature - related to caching, scheduled calculations, etc. 8) How I implemented exceptions handling? 9) How I would design a database with a lot of data persisting/querying in the database? 10) ...

Viewing 1571 - 1580 interview questions

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