Sr Java Developer Interview Questions

5,298 sr java developer interview questions shared by candidates

first Introuduce my self and then second question is do you know about Java Security, how we handle security aspects in java, there were two coding round. 1. print the staudent data , where they have access of multiple courses ex, Rohan has 2 course access, Sohan has 1 access, Rahul has 3 , like that and we have to print that all. 2. write a sql query and fine the 3rd max salary in employee table, without using LIMIT and TOP
avatar

Senior Java Developer

Interviewed at ZeMoSo

4
Jul 21, 2025

first Introuduce my self and then second question is do you know about Java Security, how we handle security aspects in java, there were two coding round. 1. print the staudent data , where they have access of multiple courses ex, Rohan has 2 course access, Sohan has 1 access, Rahul has 3 , like that and we have to print that all. 2. write a sql query and fine the 3rd max salary in employee table, without using LIMIT and TOP

Theoretical: Code smell Java memory leak: create Class the generates immutable objects use Record java 14, obiect immutable, how objects are saved Deep copy vs shallow copy What is a pure function? Try with resources Seal class java 17 stream operation intermediale and final, Lambda and functional interfaces Marker interface default method solid principles. Design patterns; proxy decorator Hibernate proxy Lazy loading , Hibernate cache level 2 , @cachable @transaction : isolation vs propagation and ACID principles Practical: Calculate unique number of occurrences
avatar

Java Senior Software Developer

Interviewed at Luxoft

3.7
Mar 21, 2023

Theoretical: Code smell Java memory leak: create Class the generates immutable objects use Record java 14, obiect immutable, how objects are saved Deep copy vs shallow copy What is a pure function? Try with resources Seal class java 17 stream operation intermediale and final, Lambda and functional interfaces Marker interface default method solid principles. Design patterns; proxy decorator Hibernate proxy Lazy loading , Hibernate cache level 2 , @cachable @transaction : isolation vs propagation and ACID principles Practical: Calculate unique number of occurrences

1. There were few acceptance criteria and I did not violate any ones. 2. I've sent task and I end up did not wait for response (it's been 4 days of a silence). Just after pushing HR in the same day I've received response. 3. in the feedback was said: a) that I'd chosen bad desigh for scalability however without any evidence why. I know companies where suggested solution works successfully (exactly in the same situation!!!!)LOL. b) that I did not handle concurrency - it's truth, I even mentioned this fact in the task and I'd written that it can be refined. Guys, do you think it is possible to write well defined/well-tested/thread-safe design during 2 hours? LOL c) that using enum for some kind of entities like country.. in an app there were just 3 constant string values - is it bad candidate for Enum. I'd adhere to simple and transparent desigh without premature optimisation - becouse it a big evil ))) d) And one of my favorite formulation:"Write up would not work" - what? I've covered my code with Unit tests, and coverage was about 99%, I'd tested every single bit of code - and it will not work? LOL Guys, read please above carefully and make your decision wisely ;)
avatar

Senior Java Developer

Interviewed at Quandoo

3.9
Aug 20, 2018

1. There were few acceptance criteria and I did not violate any ones. 2. I've sent task and I end up did not wait for response (it's been 4 days of a silence). Just after pushing HR in the same day I've received response. 3. in the feedback was said: a) that I'd chosen bad desigh for scalability however without any evidence why. I know companies where suggested solution works successfully (exactly in the same situation!!!!)LOL. b) that I did not handle concurrency - it's truth, I even mentioned this fact in the task and I'd written that it can be refined. Guys, do you think it is possible to write well defined/well-tested/thread-safe design during 2 hours? LOL c) that using enum for some kind of entities like country.. in an app there were just 3 constant string values - is it bad candidate for Enum. I'd adhere to simple and transparent desigh without premature optimisation - becouse it a big evil ))) d) And one of my favorite formulation:"Write up would not work" - what? I've covered my code with Unit tests, and coverage was about 99%, I'd tested every single bit of code - and it will not work? LOL Guys, read please above carefully and make your decision wisely ;)

Viewing 2021 - 2030 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 5,298 interview questions and reports from Sr java developer interviews. Prepare for your interview. Get hired. Love your job.