Senior Software Developer Java Interview Questions

7,036 senior software developer java interview questions shared by candidates

basic java questions internal working of Hashmap,Array list Linked List , Java 8 features , steam api, default method , oops etc Hibernate connections eager lazy , transactional property ... Spring bean type, DI , controller 2 coding question with medium level LeetCode difficulty
avatar

Senior Software Engineer - Java Developer

Interviewed at EPAM Systems

4
Dec 6, 2024

basic java questions internal working of Hashmap,Array list Linked List , Java 8 features , steam api, default method , oops etc Hibernate connections eager lazy , transactional property ... Spring bean type, DI , controller 2 coding question with medium level LeetCode difficulty

1. When to use Runnable and when to use Thread 2. Some important methods of Thread(sleep,wait) 3. Future object 4. Callable 5. What type of value Thread returns.or any method inside thread returns. 6. Swap two variables without using 3rd variable; 7. Find occurence of elements using stream api. 8. Find duplicate elem using stream api 9. Factory vs abstract factory design pattern 10.Difference Between BeanFactory and ApplicationContext 11.How to make mutable class 1. Final method, variables, classs 2. How to make Singleton class 3. String literal and string object with new keyword. How does it differ behind 4. Java 8 features 5. Added date and time features in java 8 6. @component and @Componentscan 7. Stereotypes annotations 8. What type of initialisation is streams(lazy or eager) - ans:- lady because it has intermediate operation first nd then only terminate operation 9. Optional class 10. Throw and throws 11. Checked Exception(compiler) and unchecked exception(runtime)
avatar

Senior Software Developer

Interviewed at Wipro

3.6
May 18, 2024

1. When to use Runnable and when to use Thread 2. Some important methods of Thread(sleep,wait) 3. Future object 4. Callable 5. What type of value Thread returns.or any method inside thread returns. 6. Swap two variables without using 3rd variable; 7. Find occurence of elements using stream api. 8. Find duplicate elem using stream api 9. Factory vs abstract factory design pattern 10.Difference Between BeanFactory and ApplicationContext 11.How to make mutable class 1. Final method, variables, classs 2. How to make Singleton class 3. String literal and string object with new keyword. How does it differ behind 4. Java 8 features 5. Added date and time features in java 8 6. @component and @Componentscan 7. Stereotypes annotations 8. What type of initialisation is streams(lazy or eager) - ans:- lady because it has intermediate operation first nd then only terminate operation 9. Optional class 10. Throw and throws 11. Checked Exception(compiler) and unchecked exception(runtime)

Viewing 5851 - 5860 interview questions

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