Sr Java Developer Interview Questions

5,543 sr java developer interview questions shared by candidates

-How would you check on Unix, if particular process is alive/running on the machine? -What is the difference between TCP and UDP? -How would you prevent deadlock in Java program? -How would you implement thread-safe counter? -What are benefits of using ConcurrentHashMap vs synchronized HashMap?
avatar

Senior Java Developer

Interviewed at UBS

3.7
Oct 11, 2015

-How would you check on Unix, if particular process is alive/running on the machine? -What is the difference between TCP and UDP? -How would you prevent deadlock in Java program? -How would you implement thread-safe counter? -What are benefits of using ConcurrentHashMap vs synchronized HashMap?

Written Test: min and max in an array remove duplicates from a string without using extra memory integer between 0 to 999999 will be given , we need to print them in words like for 120 print one hundred twenty JMS queues find out the winner of the tic-tac game board of any size. write the data coming from the DB to a file using multiple threads MCQs were very easy
avatar

Senior Software Developer (Java)

Interviewed at DBS Bank

3.8
Aug 21, 2016

Written Test: min and max in an array remove duplicates from a string without using extra memory integer between 0 to 999999 will be given , we need to print them in words like for 120 print one hundred twenty JMS queues find out the winner of the tic-tac game board of any size. write the data coming from the DB to a file using multiple threads MCQs were very easy

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 5461 - 5470 interview questions

See Interview Questions for Similar Jobs

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