Senior Java Developer Interview Questions | Glassdoor

Senior Java Developer Interview Questions

"Senior developers have years of experience in Java and have the knowledge and communication skills to mentor other developers. Companies prioritize strong technical skills and questions will focus on problem solving and critical thinking. A bachelor's degree in computer science or a related field, along with years of industry experience are standard."

Top Interview Questions

Sort: RelevancePopular Date

How would you scale access to a system like Twitter

2 Answers

There's probably no real correct answer, though the solutions go from common to esoteric in a pretty normal progression: caching, shared-cache like memcache, optimize usage, prefetch, then get creative. This is more about testing reasoning and how far you'll go to solve a problem.

I was thinking geographically distributed servers.

Q: Why multiple inheritances are not supported in Java?

1 Answer

If you were responsible for development and launch of a billing system, how would you handle a critical situation?

1 Answer

A rustic village contains one million married couples and no children. Each couple has exactly one child per year. Each couple wants a girl, but also wants to minimize the number of children they have, so they will continue to have children until they have their first girl. Assume that children are equally likely to be born male or female. Let p(t) be the percentage of children that are female at the end of year t. What is p(t)? "Can't tell" is a potential answer if you don't have sufficient information.

6 Answers

After a night of wild revelry, a group of local intoxicated hoodlums stumble into a children's playground. One of these hoodlums, Phil, climbs to the middle of a spin-around carousel and his friends push the carousel so it rotates once every five seconds. Phil, who is trying not to get sick, holds a flashlight motionless in his hand. There is a straight path running by the playground that, at its closest point, is 30 meters from the middle of the carousel. Unknown to Phil, there are two cops facing him on the path, shocked at the spectacle. One of them is standing on the path at the point closest to the carousel, while the other is standing 60 meters down the path. At approximately what speed (in meters per second) does the spot illuminated by the flashlight traverse each of the cops' bodies? State speed at the closest cop first.

2 Answers

Two developers, Ann and Suzy, are waiting for code to compile. Suzy learns that Ann's sister has three children, and asks how old they are. Ann responds, "The product of their ages is 36." Suzy says, "Oh c'mon--I can't figure it out with that!" Ann replies, "Ok, then the sum of their ages is the same as this number right here," and points to a number on the screen. Suzy says, "Nope, still can't do it," and Ann replies, "The oldest is dyslexic." How old are the children? (Order from oldest to youngest)

3 Answers

What would cause a null pointer exception?

1 Answer

What inspired you to become a software developer? What do you hope to find here?

1 Answer

I didn't see any unexpected questions. Interview is mostly based on the depth of your technical skills, Agile methodology, Spring MVC, Spring Web Flow, Java Core concepts, Hibernate configurations, relationships in hibernate (one-to-may.many-to-many), Spring Injections, Design Patterns (Singleton), WebServices(cxf/Axis) etc.

1 Answer

Will your military experience and background bring a negative leadership style into our organization?

1 Answer
110 of 307 Interview Questions