Learn about the SOLID principles of object oriented design.
This lesson will focus on writing code that touches upon the various aspects of the SOLID principles.
- IntelliJ Community Edition: IntelliJ Community Edition
- JDK Development Kit (JDK 17 or later): Java SE Development Kit
- Alternative dev kit (Java 17 or later): Eclipse Temurin Java Development Kit
- Some previous experience with any object-oriented programming language is helpful
- Start by cloning this repository into a folder on your computer. If you've never used git before, you can alternatively use the the "Download ZIP" button to the right.
- Although you have this
README.mdfile on your computer it's easier to read it on GitHub, so we recommend you keep this page open with the exercise tasks.
This repository contains a set of exercises organized in markdown files. Each exercise builds on the previous.
- Exercise 1 - Introduction (Start here)
- Exercise 2 - Dependency Inversion Principle
- Exercise 3 - Single Responsibility Principle
- Exercise 4 - Interface Segregation Principle
Tip: The markdown files are best viewed on GitHub rather than on your computer.
Have fun! And remember to ask an instructor if you're stuck.
- ✏️ - A task you should do
- 📖 - A section of text to read (no tasks, just information).
- 💡 - Additional information.
- ❗ - Something important.
- ❓ - Open-ended question for the reader ("What do you think would happen if...")
- 💩 - Bad practice (don't-do-this)
- ⭐ - A bonus task (not required)
Will look like this:
CTRL + ALT + C
Emphasizes how lines of text should change.
- this text was removed
+ and replaced with this text