Loading practice questions
What is Dependency Injection in Android?
Correct Answer: C — A design pattern to provide objects to classes
Explanation:
Dependency Injection is a design pattern where dependencies are provided to a class rather than being instantiated by the class itself. Popular libraries like Dagger and Hilt implement this in Android.