Java Senior Interview Questions

6,010 java senior interview questions shared by candidates

One example: in the same class you have methods with the same names, both with one parameter, first is taking Object and second is taking String. You call the method with null parameter, which method will be called and why? (Would you write a code like this in a real project?)
avatar

Senior Java Developer

Interviewed at Mphasis

3.4
Jun 11, 2020

One example: in the same class you have methods with the same names, both with one parameter, first is taking Object and second is taking String. You call the method with null parameter, which method will be called and why? (Would you write a code like this in a real project?)

It consisted of a telephonic, basic of java : overriding, overloading rules, design patterns, sort may on key and values. Java 8 Date Time API, streams, lambda expressions. Then a face to face with the Technical Manager : we had a general discussion about the job role. He asked me some questions on Executor framework, why we have it. Spring scenario oabout what if a singeltion scope bean uses a prototype scope bean. The was a design assignment given to solve in office : Design a Library. It has user stories and each user story had new functionality. Was not too tough. Adding members(name,phone number), taking care of duplicate members, book (name, isbn number, type). Then to make add member function thread safe.
avatar

Senior Associate - Java

Interviewed at BNP Paribas

3.8
Aug 11, 2019

It consisted of a telephonic, basic of java : overriding, overloading rules, design patterns, sort may on key and values. Java 8 Date Time API, streams, lambda expressions. Then a face to face with the Technical Manager : we had a general discussion about the job role. He asked me some questions on Executor framework, why we have it. Spring scenario oabout what if a singeltion scope bean uses a prototype scope bean. The was a design assignment given to solve in office : Design a Library. It has user stories and each user story had new functionality. Was not too tough. Adding members(name,phone number), taking care of duplicate members, book (name, isbn number, type). Then to make add member function thread safe.

Viewing 441 - 450 interview questions

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