Main Navigation
Share your interview in your own words — our AI handles the rest. Hardly takes 2 minutes.
Practice mock interviews or book a 1:1 call for career guidance, resume reviews, and more.
AI interview prep powered by real interview data.
Connect with us on social media
Interview experiences & questions tagged Dependency Injection
Explain the differences between `@Component`, `@Service`, and `@Repository` in Spring Boot, and discuss bean scopes/lifecycle, Spring Boot startup flow, and `@Transactional` internals and pitfalls.
Explain the differences and usages of @Component and @Bean in Spring framework. Provide examples of when to use each.
What is the purpose of ConfigureServices and Configure methods in Startup.cs in a .NET application? Specifically, discuss the role of Dependency Injection in ConfigureServices and the middleware setup in Configure.
Explain the concept of Inversion of Control (IoC) and Dependency Injection (DI). What are the differences between them? How does IoC and DI help in software development? Provide real-world examples of the three types of Dependency Injection.
What is dependency injection in .NET and what are the different lifecycles associated with it?
Coming Soon