Pregunta de entrevista de Infosys

1. How does a HashMap handle collisions and resizing? 2. Java stream API's 3. What is the role of @RestController, @Service, and @Component in Spring, and when should you use each? 4. How does Spring handle dependency injection internally? 5. How can you achieve global exception handling in Spring using @ControllerAdvice? 6. What are the practical usages of @Transactional, and what pitfalls should you avoid? Some Basic SQL questions on joins