Java Senior Interview Questions

6,029 java senior interview questions shared by candidates

in TR following ques asked: what is oop, encapsulation implement abstraction. then given codes to run in eclipse: 1.given a string print character followed by its frequency. 2. find max n min in given array 3. write table of 5 without loop
avatar

Core Java Developer/Senior Engineer

Interviewed at Robert Bosch

4.1
Jan 11, 2022

in TR following ques asked: what is oop, encapsulation implement abstraction. then given codes to run in eclipse: 1.given a string print character followed by its frequency. 2. find max n min in given array 3. write table of 5 without loop

How Do you implement observer design pattern? Which design patterns do you know? Which are the collections interfaces? Given the fibonacci sequence array, sort the array with all the odd numbers at the begining and the non even numbers at the end. Don’t use any temp array.
avatar

Senior Java Software Engineer

Interviewed at EPAM Systems

4
Aug 11, 2021

How Do you implement observer design pattern? Which design patterns do you know? Which are the collections interfaces? Given the fibonacci sequence array, sort the array with all the odd numbers at the begining and the non even numbers at the end. Don’t use any temp array.

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?

Viewing 1851 - 1860 interview questions

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