Write a program to brake singleton pattern and how to prevent it. Wirte a program to count the number of occurrences of characters in a String. Write circuit breaker pattern in case of microservices.
Senior Developer Java Interview Questions
5,296 senior developer java interview questions shared by candidates
Round1: Focus on Microservices: 1. Code for Feign Client Interface 2. Code for Rest Template 3. POST API with all annotations and detailed code. 4. Java8 Features Round 2: 1. String s =null; Sout(s); Sout(s.lenght); What would be the output? 2. How do we prevent nullpointer in above scenario? 3. Java8 Program: Return first employee with a salary greater than 100000 . If no such employee exists, then null is returned. 4. Kafka Partitions and Topics. 5. AWS services used? Round 3: Basic HR questioner.
The design patterns of microservices
Core java, spring, design patterns
How could you make your code process faster?
The basic question of almost every interview- walk me through your resume and your previous work. Other questions were based on topics such as: runtime and compile-time polymorphism, OOPS concepts, exception hierarchy, shallow and deep cloning, and multi-threading. The other question was to guess the output of the program.
Questions: Explain some use cases of the Java Spring framework. On what technologies have you worked? What do you know about the Java project in Publicis Sapient? Why do you want to join Publicis Sapient? How much salary hike you are expecting? How can you justify this much hike? Will you be able to handle a team of 5 people?
Can strategy design pattern be used along with Java collections?
1. How do you override default properties in Spring Boot project? 2. Which embedded containers are supported by Spring Boot? 3. What is the difference between Runnable and Callable interfaces?
2. Describe the conditions for Deadlock, Livelock and Starvation
Viewing 3311 - 3320 interview questions