Senior Developer Java Interview Questions

5,537 senior developer java interview questions shared by candidates

1) There is a class in which i declare 2 instance variables. A map and a string. Initialize both. Then, pass both of them to a method and change the values. What will be the value of map and string before and after calling the method. 2) Dynamic Polymorphism. All the variants(Object of child, reference of parent etc etc). If the methods are static , how does DP work? 3) Typecasting. How does it work? 4) Immutable classes. How do you initialize it? 5) When do you prefer Interfaces and when abstract class. Prepare well for this question. They confuse you a lot. 6) Overloading with different arguments. 7) Instantiating an abstract class. There is an abstract class and other normal class extends the abstract class. In constructor it calls , super(this). What happens?
avatar

Senior Java Developer

Interviewed at BT Group

3.6
Jun 8, 2016

1) There is a class in which i declare 2 instance variables. A map and a string. Initialize both. Then, pass both of them to a method and change the values. What will be the value of map and string before and after calling the method. 2) Dynamic Polymorphism. All the variants(Object of child, reference of parent etc etc). If the methods are static , how does DP work? 3) Typecasting. How does it work? 4) Immutable classes. How do you initialize it? 5) When do you prefer Interfaces and when abstract class. Prepare well for this question. They confuse you a lot. 6) Overloading with different arguments. 7) Instantiating an abstract class. There is an abstract class and other normal class extends the abstract class. In constructor it calls , super(this). What happens?

basic java question and data structure and algo. Never attend their recruitment process otherwise you will end-up wasting your precious time instead go for any other company. They will simply call you for nothing. They will ask you to go through all the round and at the end HR will tell you that, hiring manager has specific requirement. Then why and who the hell resume was shortlisted ?
avatar

Senior Java Developer

Interviewed at Rakuten

3.6
Aug 7, 2018

basic java question and data structure and algo. Never attend their recruitment process otherwise you will end-up wasting your precious time instead go for any other company. They will simply call you for nothing. They will ask you to go through all the round and at the end HR will tell you that, hiring manager has specific requirement. Then why and who the hell resume was shortlisted ?

Viewing 4031 - 4040 interview questions

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