Senior Java Developer Interview Questions

5,543 senior java developer interview questions shared by candidates

1. What is the return type of Class.forName() method? 2. What is the difference between an Inner Class and a Static Nested Class? What is the difference between intermediate and terminal operations on Stream? 3. How to check if Linked List has a loop? 4. Java Microservices and RestAPI 5. Describe the newly added features in Java 8 6. What is the use of Spliterator in Java? 7. Find the complexity of different operations in the Binary tree, Binary Search Tree and AVL tree.
avatar

Senior Java Developer

Interviewed at Publicis Sapient

3.4
Sep 28, 2021

1. What is the return type of Class.forName() method? 2. What is the difference between an Inner Class and a Static Nested Class? What is the difference between intermediate and terminal operations on Stream? 3. How to check if Linked List has a loop? 4. Java Microservices and RestAPI 5. Describe the newly added features in Java 8 6. What is the use of Spliterator in Java? 7. Find the complexity of different operations in the Binary tree, Binary Search Tree and AVL tree.

Thread pool, Bean life cycle, Concurrent API's, Locks, Producer consumer Problem, Linked list implementation, Hashmap and Treemap Implementation, Exception Handling, Servlet life cycle, Internal working of Garbage collectors etc
avatar

Senior Java Developer

Interviewed at Publicis Sapient

3.4
Aug 16, 2016

Thread pool, Bean life cycle, Concurrent API's, Locks, Producer consumer Problem, Linked list implementation, Hashmap and Treemap Implementation, Exception Handling, Servlet life cycle, Internal working of Garbage collectors etc

Interviewer asked questions on core java, collections, SQL Joins, Design patterns. Some scenario based questions but I did not understand since the interviewer did not that good english. This was though some staffing agency.
avatar

Senior Java Developer

Interviewed at Hexaware Technologies

3.7
Mar 12, 2024

Interviewer asked questions on core java, collections, SQL Joins, Design patterns. Some scenario based questions but I did not understand since the interviewer did not that good english. This was though some staffing agency.

Round1: Focus on Microservices: 1. Code for Feign Client Interface 2. Code for Rest Template 3. POST API with all annotations and detailed code. 4. Java8 Features Round 2: 1. String s =null; Sout(s); Sout(s.lenght); What would be the output? 2. How do we prevent nullpointer in above scenario? 3. Java8 Program: Return first employee with a salary greater than 100000 . If no such employee exists, then null is returned. 4. Kafka Partitions and Topics. 5. AWS services used? Round 3: Basic HR questioner.
avatar

Senior Java AWS Developer

Interviewed at Hexaware Technologies

3.7
Mar 18, 2024

Round1: Focus on Microservices: 1. Code for Feign Client Interface 2. Code for Rest Template 3. POST API with all annotations and detailed code. 4. Java8 Features Round 2: 1. String s =null; Sout(s); Sout(s.lenght); What would be the output? 2. How do we prevent nullpointer in above scenario? 3. Java8 Program: Return first employee with a salary greater than 100000 . If no such employee exists, then null is returned. 4. Kafka Partitions and Topics. 5. AWS services used? Round 3: Basic HR questioner.

Viewing 3481 - 3490 interview questions

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