Sr Java Developer Interview Questions

5,573 sr java developer interview questions shared by candidates

Core java questions: Code snippets shown to answer Hashmap working Singleton class Exception and error Stack overflow error Sql query to find second largest value Load factor in hashmap String literal Design Patterns used Object class methods Mr round questions: Introduction Role in project Explain project Modules you worked Program to count words from a string Sql query to display sum of a column and name.
avatar

Senior Java Developer

Interviewed at QBurst

4.1
Feb 17, 2021

Core java questions: Code snippets shown to answer Hashmap working Singleton class Exception and error Stack overflow error Sql query to find second largest value Load factor in hashmap String literal Design Patterns used Object class methods Mr round questions: Introduction Role in project Explain project Modules you worked Program to count words from a string Sql query to display sum of a column and name.

oops Concepts, String Immutanbility, Hast set, hashmap working, Break and Continue statements, Write a java program to find max element from list and return index and value. Write a java program to find Max sal of employee group by department.--- yes its a java program. not Query Spring Basics, Annotations, Exceptions, Transaction Flow... I never used annotations much so I failed at answers most of them.
avatar

Senior Java Developer

Interviewed at Quest Global

3.9
May 17, 2018

oops Concepts, String Immutanbility, Hast set, hashmap working, Break and Continue statements, Write a java program to find max element from list and return index and value. Write a java program to find Max sal of employee group by department.--- yes its a java program. not Query Spring Basics, Annotations, Exceptions, Transaction Flow... I never used annotations much so I failed at answers most of them.

Given a list of houses, each painted with one of three colors, you want to minimize the cost of painting all the houses such that no two adjacent houses have the same color. You are provided with a 2D array where each element represents the cost of painting a house with a specific color. How can you implement a Java program to calculate the minimum cost to paint all houses while adhering to the color restriction?
avatar

Senior Java Developer

Interviewed at Apple

4.2
Apr 18, 2025

Given a list of houses, each painted with one of three colors, you want to minimize the cost of painting all the houses such that no two adjacent houses have the same color. You are provided with a 2D array where each element represents the cost of painting a house with a specific color. How can you implement a Java program to calculate the minimum cost to paint all houses while adhering to the color restriction?

Logical tests were basically word trick questions. Nothing to do with logic at all. It's like a game. You play a lot with these types of questions then you get better with it. If done first time it'll take you around 40 minutes for both tests. Technical questions were for someone who's in community college taking Java course.
avatar

Senior Java Developer

Interviewed at Canadian Institute for Health Information

3.9
Apr 28, 2015

Logical tests were basically word trick questions. Nothing to do with logic at all. It's like a game. You play a lot with these types of questions then you get better with it. If done first time it'll take you around 40 minutes for both tests. Technical questions were for someone who's in community college taking Java course.

Viewing 891 - 900 interview questions

See Interview Questions for Similar Jobs

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