Senior Developer Java Interview Questions

5,296 senior developer java interview questions shared by candidates

Ways of creating thread. When to use runnable and when to use Thread. Abstract Class Instantiation of Abstract class Singleton classes Where singleton design can break? Custom class object as key in hashmap Identity hashmaps---equality is done using reference (==) Concurrent hashmaps--contains segments--1Sements = 1 Hasmap(Conceptually) Final class
avatar

Senior Java Developer

Interviewed at Capgemini

4.2
Jul 20, 2025

Ways of creating thread. When to use runnable and when to use Thread. Abstract Class Instantiation of Abstract class Singleton classes Where singleton design can break? Custom class object as key in hashmap Identity hashmaps---equality is done using reference (==) Concurrent hashmaps--contains segments--1Sements = 1 Hasmap(Conceptually) Final class

Java 8 Features: What are lambda expressions in Java? Provide an example. Explain the Stream API and its benefits. What are default methods in interfaces? Memory Management: How does garbage collection work in Java? Explain the difference between stack and heap memory.
avatar

Senior Java Developer

Interviewed at NTT DATA

3.7
Jul 9, 2024

Java 8 Features: What are lambda expressions in Java? Provide an example. Explain the Stream API and its benefits. What are default methods in interfaces? Memory Management: How does garbage collection work in Java? Explain the difference between stack and heap memory.

Viewing 5151 - 5160 interview questions

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