Sr Java Developer Interview Questions

5,526 sr java developer interview questions shared by candidates

JAVA What is Encapsulation? What is Inheritance? What is the difference between overloading and overriding? What is polymorphism? What is the difference between an Abstract class and an Interface? What is an immutable object? What is the difference between a Set, List and Map? Name a collection that is thread safe? (Vector) What are two ways to implement a Thread in Java? What is a servlet? What is String Builder used for? DATABASES How does JDBC make a query? What is a left inner join? What is an outer join? What is aggregation? Give an example of a SQL query that uses aggregation? DESIGN PATTERNS What is the MVC design pattern? What is the Facade design pattern? What is the Decorator design pattern? HTTP What is the difference between JSON and XML? What are the 7 HTTP request methods? (GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT) What is the difference between SOAP and REST? SPRING What is dependency injection in Spring? Several other questions on spring..
avatar

Senior Consultant (Java Developer)

Interviewed at hybris Software

3.9
Aug 6, 2015

JAVA What is Encapsulation? What is Inheritance? What is the difference between overloading and overriding? What is polymorphism? What is the difference between an Abstract class and an Interface? What is an immutable object? What is the difference between a Set, List and Map? Name a collection that is thread safe? (Vector) What are two ways to implement a Thread in Java? What is a servlet? What is String Builder used for? DATABASES How does JDBC make a query? What is a left inner join? What is an outer join? What is aggregation? Give an example of a SQL query that uses aggregation? DESIGN PATTERNS What is the MVC design pattern? What is the Facade design pattern? What is the Decorator design pattern? HTTP What is the difference between JSON and XML? What are the 7 HTTP request methods? (GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT) What is the difference between SOAP and REST? SPRING What is dependency injection in Spring? Several other questions on spring..

Find minimum plotform to organise trains. arr[]={ 9:40, 9:50, 11:25}; dep[]={ 12:00, 11:20, 11:30}; Expected output : 3 Explanation: arr is arrival time of a train and dep is departure time of a train respectively. 1st train arrive at 9:40 and departure at 12:00. Before this 1st train leave station, 2nd train arrive at 9:50. So we cannot manage these 2 train in 1 plotforms. Like this we need to find minimum trains to organise all trains
avatar

Senior Software Engineer - Java

Interviewed at Ezetap

4.2
Mar 7, 2022

Find minimum plotform to organise trains. arr[]={ 9:40, 9:50, 11:25}; dep[]={ 12:00, 11:20, 11:30}; Expected output : 3 Explanation: arr is arrival time of a train and dep is departure time of a train respectively. 1st train arrive at 9:40 and departure at 12:00. Before this 1st train leave station, 2nd train arrive at 9:50. So we cannot manage these 2 train in 1 plotforms. Like this we need to find minimum trains to organise all trains

Viewing 221 - 230 interview questions

See Interview Questions for Similar Jobs

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