Java Senior Interview Questions

6,034 java senior interview questions shared by candidates

Coding: Given this codebase, let's run it, why is this page loading slowly, fix it Design: Walk through a proposed design Tech/Cultural Fit: "Walk me through a time when you (...)" kind of questions, elaborate on a technical level
avatar

Senior Java Engineer

Interviewed at Behavox

3.3
Aug 27, 2025

Coding: Given this codebase, let's run it, why is this page loading slowly, fix it Design: Walk through a proposed design Tech/Cultural Fit: "Walk me through a time when you (...)" kind of questions, elaborate on a technical level

Difference between string buffer and string builder. What is a functional interface?. Explain abstraction and abstract classes. Difference between final,finally and finalize?. Explain the states of thread?. What is the difference between sleep and wait. Two threads are running in parallel ,thread A and thread B.if thread A give exception can this exception be caught by thread B .Is it possible an exception thrown by thread A can be caught by B? Do threads work synchronously or asynchronous? Can we do multithreading as synchronous. Why is multiple inheritance not supported by java?. If you support how. Explain stream API in java 8 with an example. Explain internal working of hashmap. What are the recent changes brought in hashmap in java 8. Explain one-to-many annotation. Can you tell me the limitation of one-to-many mapping. Explain lazy loading vs eager loading. Explain one-to-one annotation mapping with examples. Tell me 15 annotations of spring boot applications. What is the use of @transactional keyword. Difference between primary key and unique key. Name 10 linux commands. What is @entity, @id and @generatedvalue. Explain throw and throws
avatar

Senior Java Developer

Interviewed at Altruist Technologies

4.7
May 21, 2025

Difference between string buffer and string builder. What is a functional interface?. Explain abstraction and abstract classes. Difference between final,finally and finalize?. Explain the states of thread?. What is the difference between sleep and wait. Two threads are running in parallel ,thread A and thread B.if thread A give exception can this exception be caught by thread B .Is it possible an exception thrown by thread A can be caught by B? Do threads work synchronously or asynchronous? Can we do multithreading as synchronous. Why is multiple inheritance not supported by java?. If you support how. Explain stream API in java 8 with an example. Explain internal working of hashmap. What are the recent changes brought in hashmap in java 8. Explain one-to-many annotation. Can you tell me the limitation of one-to-many mapping. Explain lazy loading vs eager loading. Explain one-to-one annotation mapping with examples. Tell me 15 annotations of spring boot applications. What is the use of @transactional keyword. Difference between primary key and unique key. Name 10 linux commands. What is @entity, @id and @generatedvalue. Explain throw and throws

Viewing 2571 - 2580 interview questions

Glassdoor has 6,034 interview questions and reports from Java senior interviews. Prepare for your interview. Get hired. Love your job.