Sr Java Developer Interview Questions

5,538 sr java developer interview questions shared by candidates

1. What is the difference between ArrayList and LinkedList? 2. What is the advantage of the Properties file? 3. How is the safety of a thread achieved? 4. How to implement the producer-consumer problem by using BlockingQueue? 5. What is the lock interface in Concurrency API in Java? 6. In Java 8, what is Method Reference? 7. How to find the third element from the end in a linked list in one pass?
avatar

Senior Java Developer

Interviewed at Publicis Sapient

3.4
Sep 27, 2021

1. What is the difference between ArrayList and LinkedList? 2. What is the advantage of the Properties file? 3. How is the safety of a thread achieved? 4. How to implement the producer-consumer problem by using BlockingQueue? 5. What is the lock interface in Concurrency API in Java? 6. In Java 8, what is Method Reference? 7. How to find the third element from the end in a linked list in one pass?

Questions: a. What is Eden and survivor space in a heap? b. How to analyze Java memory issues? c. Java inner classes and functions d. Can you list serialization methods? e. Some coding questions like guessing the output f. Describe a time when you felt stressed or overwhelmed. How did you handle it? g. How do you determine what amount of time is reasonable for a task? h. Code writing for a situation
avatar

Senior Java Developer

Interviewed at Publicis Sapient

3.4
Sep 16, 2021

Questions: a. What is Eden and survivor space in a heap? b. How to analyze Java memory issues? c. Java inner classes and functions d. Can you list serialization methods? e. Some coding questions like guessing the output f. Describe a time when you felt stressed or overwhelmed. How did you handle it? g. How do you determine what amount of time is reasonable for a task? h. Code writing for a situation

1. What is hash-collision in Hashtable? How is it handled in Java? 2. Can we make the user thread a daemon thread if the thread is already started? 3. What do you mean by Semantic Monitoring? 4. Explain the working of Microservice Architecture. 5. What issues are generally solved by spring clouds? 6. How does the put() method of HashMap work in Java? 7. How to design a good key for HashMap? 8. Why String, Integer, and other wrapper classes are considered good keys?
avatar

Senior Java Developer

Interviewed at Publicis Sapient

3.4
Sep 28, 2021

1. What is hash-collision in Hashtable? How is it handled in Java? 2. Can we make the user thread a daemon thread if the thread is already started? 3. What do you mean by Semantic Monitoring? 4. Explain the working of Microservice Architecture. 5. What issues are generally solved by spring clouds? 6. How does the put() method of HashMap work in Java? 7. How to design a good key for HashMap? 8. Why String, Integer, and other wrapper classes are considered good keys?

2. Which design pattern you would suggest in a sample question? 3. Calculate the output of the code? 4. Which algorithm will be better if 1 million runs complete daily? Calculate the time complexity. 5. How do I read/convert an InputStream into a String in Java?
avatar

Senior Java Developer

Interviewed at Publicis Sapient

3.4
Oct 5, 2021

2. Which design pattern you would suggest in a sample question? 3. Calculate the output of the code? 4. Which algorithm will be better if 1 million runs complete daily? Calculate the time complexity. 5. How do I read/convert an InputStream into a String in Java?

1- Recruiter Interview: Introduction, How do you test your code?, Do you have any experience regarding stream processing? 2- Take home assignment: I was supposed to read from an input stream of messages, process them, calculate some statistics and finally write them to an output stream.
avatar

Senior Java Developer

Interviewed at Picnic

3.3
Dec 3, 2021

1- Recruiter Interview: Introduction, How do you test your code?, Do you have any experience regarding stream processing? 2- Take home assignment: I was supposed to read from an input stream of messages, process them, calculate some statistics and finally write them to an output stream.

Viewing 1701 - 1710 interview questions

See Interview Questions for Similar Jobs

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