Java Senior Interview Questions

6,007 java senior interview questions shared by candidates

1) Java 11, 17, and 21 features. 2) What is the use of Optional? 3) What are intermediate and terminal operations? 4) In an interface, what is the purpose of default and static methods? 5) What is the Builder pattern? 6) How do you create an immutable class? 7) How do you share requests from one microservice to another? 8) Write a program to find the 2nd largest numbers in an unsorted array without using an inbuilt sort function. 9) How can we restrict a list from being modified? 10) What is transient? 11) What is volatile? 12) put vs patch ?
avatar

Senior Java Full Stack Engineer

Interviewed at CRISIL

3.8
Jul 11, 2025

1) Java 11, 17, and 21 features. 2) What is the use of Optional? 3) What are intermediate and terminal operations? 4) In an interface, what is the purpose of default and static methods? 5) What is the Builder pattern? 6) How do you create an immutable class? 7) How do you share requests from one microservice to another? 8) Write a program to find the 2nd largest numbers in an unsorted array without using an inbuilt sort function. 9) How can we restrict a list from being modified? 10) What is transient? 11) What is volatile? 12) put vs patch ?

General java questions (But not a matter of listing but scenario based to ensure you understanding of concepts and theories) Go through your CV and ask questions based on the technologies and experience list on your CV. Technical session, Go through solving a small problem and building on from it, Architecture session (Give you a problem and ask you to design a solution by drawing flow diagram, I think also sequence diagram cant remember properly)
avatar

Senior Java Developer

Interviewed at LiveScore Group

3.4
Nov 19, 2025

General java questions (But not a matter of listing but scenario based to ensure you understanding of concepts and theories) Go through your CV and ask questions based on the technologies and experience list on your CV. Technical session, Go through solving a small problem and building on from it, Architecture session (Give you a problem and ask you to design a solution by drawing flow diagram, I think also sequence diagram cant remember properly)

Viewing 5901 - 5910 interview questions

Glassdoor has 6,007 interview questions and reports from Java senior interviews. Prepare for your interview. Get hired. Love your job.