Full Stack Java Developer Interview Questions

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

Core Java and Java 8 What is the difference between ArrayList and LinkedList? When would you use one over the other? Explain the concept of functional interfaces in Java 8. Can you name a few built-in functional interfaces? How does the Stream API work in Java 8? Write a code snippet to filter a list of integers and find the sum of even numbers. Collection Framework How does a HashMap work internally? What happens if two keys have the same hash code? What is the difference between HashSet and TreeSet? How does TreeSet maintain order? Spring Boot What is dependency injection in Spring Boot? How does it help in building loosely coupled applications? How do you handle exceptions globally in a Spring Boot application? Explain the use of @ControllerAdvice. Microservices What are the key differences between monolithic and microservices architecture? What challenges do microservices solve? How do microservices communicate with each other? Explain the use of REST APIs and messaging queues. Design Patterns Explain the Singleton design pattern. How can you implement a thread-safe Singleton in Java?
avatar

Java Full Stack Developer

Interviewed at EY

3.7
Feb 17, 2025

Core Java and Java 8 What is the difference between ArrayList and LinkedList? When would you use one over the other? Explain the concept of functional interfaces in Java 8. Can you name a few built-in functional interfaces? How does the Stream API work in Java 8? Write a code snippet to filter a list of integers and find the sum of even numbers. Collection Framework How does a HashMap work internally? What happens if two keys have the same hash code? What is the difference between HashSet and TreeSet? How does TreeSet maintain order? Spring Boot What is dependency injection in Spring Boot? How does it help in building loosely coupled applications? How do you handle exceptions globally in a Spring Boot application? Explain the use of @ControllerAdvice. Microservices What are the key differences between monolithic and microservices architecture? What challenges do microservices solve? How do microservices communicate with each other? Explain the use of REST APIs and messaging queues. Design Patterns Explain the Singleton design pattern. How can you implement a thread-safe Singleton in Java?

L2-Technical Round: Stackoverflow Exception and options to avoid same.? ECMA means? Which is latest ECMA version being used and new features introduce? Spread operator in JavaScript? Frequently used external library in es6 in your angular project? Design patterns used in your project & use cases Angular Lifecycle Hooks? Rxjs library, Its usage? Session Management in Angular using external library(if any worked on) Security in angular AOT in angular? Module in angular Microservices in spring boot Custom Exception handling in spring boot Multithreading hands-on, if any? Java 8 new features What does annotation means to you, why it was introduce in all modern programming lang.? Scenario: Want to design Menu sidebar using Ajax call, How will you do it?
avatar

Java Full Stack Developer

Interviewed at Capco

3.8
Jan 28, 2021

L2-Technical Round: Stackoverflow Exception and options to avoid same.? ECMA means? Which is latest ECMA version being used and new features introduce? Spread operator in JavaScript? Frequently used external library in es6 in your angular project? Design patterns used in your project & use cases Angular Lifecycle Hooks? Rxjs library, Its usage? Session Management in Angular using external library(if any worked on) Security in angular AOT in angular? Module in angular Microservices in spring boot Custom Exception handling in spring boot Multithreading hands-on, if any? Java 8 new features What does annotation means to you, why it was introduce in all modern programming lang.? Scenario: Want to design Menu sidebar using Ajax call, How will you do it?

Viewing 1031 - 1040 interview questions

Glassdoor has 1,047 interview questions and reports from Full stack java developer interviews. Prepare for your interview. Get hired. Love your job.