The discussion started with a self introduction followed by questions about the projects I have worked on so far and my role in them.
Core # Java topics covered:
Difference between synchronized and Lock
Thread life cycle explanation
Can static methods be overridden
Can the main method be overloaded and what happens when we do it (a tricky question)
#Codinground:
Given an integer array with positive and negative numbers, find the maximum continuous subarray and also print the subarray using best left and best right indexes
Using Java 8 #streams, given a string like "ganeshkandi", print the index positions of all vowels
Spring Boot and #design topics:
Difference between #Controller and #RestController
Explain different #bean scopes
What is a #Singleton class
Implement Singleton using double checked locking
What is a scheduler in Spring Boot and when it is used
Implement #ExecutorService and explain thread pool in it
How microservices communicate with each other
Additional questions:
Do you know about reactive #programming
What is WebClient
Implement WebClient
Why do we need #WebClient if we already have RestTemplate
How do you handle authentication and authorization
Situation based questions:
What is your approach to fix a production issue and where will you start
Where is your application deployed
Have you written any plugins