Technical Lead Java Interview Questions

596 technical lead java interview questions shared by candidates

1. Solid principles 2. Singleton pattern, in case if we pass hashmap- map can be altered and it will destroy singleton, how to handle that 3. How to create threads 4. How to execute 10 threads at a time 5. How to create global exception class 6. When to use arraylist and linkedlist 7. Completable in java 8 8. What's changed in hashmap in java 8 9. Deep copying and shallow copying 10. Use of volatile keyword in java 11. Programming a. String ="I love programming" -we need to count the length and arrange it in desc but that should be return as string using stream api b. List in = Arrays.asList(1,3,7,0,6,7,8,0); need to sort this and put only 0 at first and let the remaining stay as it is using stream API
avatar

Java Lead Developer

Interviewed at Hexaware Technologies

3.7
May 23, 2025

1. Solid principles 2. Singleton pattern, in case if we pass hashmap- map can be altered and it will destroy singleton, how to handle that 3. How to create threads 4. How to execute 10 threads at a time 5. How to create global exception class 6. When to use arraylist and linkedlist 7. Completable in java 8 8. What's changed in hashmap in java 8 9. Deep copying and shallow copying 10. Use of volatile keyword in java 11. Programming a. String ="I love programming" -we need to count the length and arrange it in desc but that should be return as string using stream api b. List in = Arrays.asList(1,3,7,0,6,7,8,0); need to sort this and put only 0 at first and let the remaining stay as it is using stream API

1. Remove second non repeating character from string using java 8 streams 2. What is eureka and feign 3. when will you use soap and when rest 4. disadvantages of rest apis 5. fail-fast and fail safe collections 6. idempotent methods in rest api
avatar

Java Lead

Interviewed at Capgemini

4.2
Oct 18, 2024

1. Remove second non repeating character from string using java 8 streams 2. What is eureka and feign 3. when will you use soap and when rest 4. disadvantages of rest apis 5. fail-fast and fail safe collections 6. idempotent methods in rest api

Viewing 581 - 590 interview questions

Glassdoor has 596 interview questions and reports from Technical lead java interviews. Prepare for your interview. Get hired. Love your job.