Senior Developer Java Interview Questions

5,285 senior developer java interview questions shared by candidates

Q. What is the purpose of the hashCode() method? Ans. The hashCode() method generates a unique integer for an object, aiding in efficient data retrieval in hash-based collections. Used in hash-based collections like HashMap and HashSet for quick data access. Returns an integer value, which is the hash code of the object. Two equal objects must have the same hash code (consistent with equals()).
avatar

Senior Java Developer

Interviewed at CGI

3.7
Sep 24, 2025

Q. What is the purpose of the hashCode() method? Ans. The hashCode() method generates a unique integer for an object, aiding in efficient data retrieval in hash-based collections. Used in hash-based collections like HashMap and HashSet for quick data access. Returns an integer value, which is the hash code of the object. Two equal objects must have the same hash code (consistent with equals()).

Linked list insertion of # after every node that contains ofd number, thread safe singleton was asked to implement, detecting loops in linked list, second highest salary in sql, how to implement many to many mapping in no sql db. And lots more.
avatar

Senior Java Developer

Interviewed at Apexon

4.2
May 15, 2025

Linked list insertion of # after every node that contains ofd number, thread safe singleton was asked to implement, detecting loops in linked list, second highest salary in sql, how to implement many to many mapping in no sql db. And lots more.

All possible questions related to your knowledge. They person will not let you know if you are right or wrong. So you need to be confident throughout the interview. The person will create detail report for you and submit.
avatar

Senior Java Developer

Interviewed at Princeton Information

3.7
Oct 18, 2015

All possible questions related to your knowledge. They person will not let you know if you are right or wrong. So you need to be confident throughout the interview. The person will create detail report for you and submit.

First round is just all about basics in core java. Its very easy to clear, they will say they would get back to you in a day or two, but after few days a project manager round will be conducted and its a hell of a round, where you get asked to write a controller, dao, service and asks each and every question related to project. its really hard to convince that guy in Hyderabad. Dont waste your time in attending the interview. not sure if they have any valuable projects or not. Not sure about the salary. They keep you waiting most of the time even after 2 rounds are completed. Dont get involved and look for better companies.
avatar

Senior Java Developer

Interviewed at TetraSoft

3.7
Mar 27, 2018

First round is just all about basics in core java. Its very easy to clear, they will say they would get back to you in a day or two, but after few days a project manager round will be conducted and its a hell of a round, where you get asked to write a controller, dao, service and asks each and every question related to project. its really hard to convince that guy in Hyderabad. Dont waste your time in attending the interview. not sure if they have any valuable projects or not. Not sure about the salary. They keep you waiting most of the time even after 2 rounds are completed. Dont get involved and look for better companies.

Viewing 4371 - 4380 interview questions

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