Java Senior Interview Questions

6,009 java senior interview questions shared by candidates

[Java] what is features of java 7? Which tool do you used to generate jaxb? What is difference between arraylist and linkeslist? Runtime polymorphism? Type casting? Error vs Exception? Runtime exception? Finally block in java? Collections? Use of treemap in java? How can u iterate a list of objects?
avatar

Senior Associate - Java Spring/Hibernate

Interviewed at Cognizant

4
Apr 3, 2016

[Java] what is features of java 7? Which tool do you used to generate jaxb? What is difference between arraylist and linkeslist? Runtime polymorphism? Type casting? Error vs Exception? Runtime exception? Finally block in java? Collections? Use of treemap in java? How can u iterate a list of objects?

[Spring] how will configure a spring? What is bean? What is a lifecycle of Spring MVC? How will you configure property files in spring? How to configure login form in spring? What is stereotype annotations? What is difference between preauthorize and post authorize? Have you worked on hibernate in spring? How to configure logger in spring? How to encrypt username and password in spring? What is modelmap? How request is passed into modelmap? What is model attribute?
avatar

Senior Associate - Java Spring/Hibernate

Interviewed at Cognizant

4
Apr 3, 2016

[Spring] how will configure a spring? What is bean? What is a lifecycle of Spring MVC? How will you configure property files in spring? How to configure login form in spring? What is stereotype annotations? What is difference between preauthorize and post authorize? Have you worked on hibernate in spring? How to configure logger in spring? How to encrypt username and password in spring? What is modelmap? How request is passed into modelmap? What is model attribute?

Write a program to check salary of employee and add it the employee, to a map which has key values as 'a' and 'b', base upon their salary range, eg. salary range less than 1000 will go in key 'a' and greater will go in 'b' so a map will be. Do this using istearm an lambda expression. it should return the map.
avatar

Senior Java Developer

Interviewed at Synechron

4.2
Apr 9, 2019

Write a program to check salary of employee and add it the employee, to a map which has key values as 'a' and 'b', base upon their salary range, eg. salary range less than 1000 will go in key 'a' and greater will go in 'b' so a map will be. Do this using istearm an lambda expression. it should return the map.

Viewing 5861 - 5870 interview questions

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