Dagger 2 Pop Quiz. Can you answer?
Published in
6 min readNov 11, 2018
Want to test if you are a copy-&-paste Dagger 2 coder or really understand how Dagger 2 works? Try out the below short quiz and see if you could answer them? If you can’t, you might learn something from the answer. They might be handy for Interview as well 😜
Before you begin
In case you are new and still learning on Dagger 2, do check it out.
If you have used Dagger 2 sometimes back, and need some refresher first, do check out
Let’s begin…
Questions?
1. How to create a component?
You have the below component. How could you create it for use?
@Component
interface AllMyDependents