Questions
Let's take a look at a few practice questions:
- How many principles are represented by the SOLID acronym?
- Is it true that when following the SOLID principles, the idea is to create bigger components that can each manage more elements of a program by creating God-sized classes?
- By following the DRY principle, you want to remove all code duplication from everywhere, irrespective of the source, and encapsulate that code into a reusable component. Is this affirmation correct?
- Is it true that the ISP tells us that creating multiple smaller interfaces is better than creating one large one?
- What principle tells us that creating multiple smaller classes that handle a single responsibility is better than one class handling multiple responsibilities?