Java Senior Interview Questions

6,031 java senior interview questions shared by candidates

Jack and Jill were going through a jungle to the city. They encountered a monster who told them they will only be allowed to escape when they solve a puzzle for him. They didn’t have a choice so they agreed. He states the problem like : I have n buckets having 0 fruits in each bucket initially. I will give you n numbers denoting fruits required at nth position But you need to keep two simple rules: Either you can increment fruit count by 1 in each bucket i.e. Incremental Operation Or you can double the fruits in each bucket i.e. Doubling operation. Twist is - you cant decrease the bucket value either by subtraction or by dividing , only you can increment
avatar

Senior Java Developer

Interviewed at Bounteous x Accolite

3.3
Oct 30, 2022

Jack and Jill were going through a jungle to the city. They encountered a monster who told them they will only be allowed to escape when they solve a puzzle for him. They didn’t have a choice so they agreed. He states the problem like : I have n buckets having 0 fruits in each bucket initially. I will give you n numbers denoting fruits required at nth position But you need to keep two simple rules: Either you can increment fruit count by 1 in each bucket i.e. Incremental Operation Or you can double the fruits in each bucket i.e. Doubling operation. Twist is - you cant decrease the bucket value either by subtraction or by dividing , only you can increment

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

Viewing 3751 - 3760 interview questions

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