Java Full Stack Developer Interview Questions

1,052 java full stack developer 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 ?

The interviewer joined the meeting on time. After joining he had his Camera turned OFF, and he asked me to turn my camera ON. I turned ON. When I asked him to turn his camera ON as a mutual respect, he got mad and cancelled the interview.
avatar

Full Stack Java Developer

Interviewed at Hexaware Technologies

3.7
Sep 12, 2024

The interviewer joined the meeting on time. After joining he had his Camera turned OFF, and he asked me to turn my camera ON. I turned ON. When I asked him to turn his camera ON as a mutual respect, he got mad and cancelled the interview.

Viewing 991 - 1000 interview questions

Glassdoor has 1,052 interview questions and reports from Java full stack developer interviews. Prepare for your interview. Get hired. Love your job.