Using git:
git clone https://github.com/marc-antoine-girard/advanced-object-oriented-programming.git
git pull
If it aborts / doesn't work, you might have modified some files and its expecting you to commit them first. Since you can't push on this project, your options are:
- Discard your changes and pull. The reset command will reset your head to the last commit from the remote branch (origin = remote)
git add .
git reset --hard origin/main
- Stash your changes during the pull
git add .
git stash
git pull
Introduction to Scanner class
Demo with the Banana Class. Method override and overload, Operator precedence.
Bonus: Color enum, Apple Class
Demo with the abstract class Fruit.
Exercises 1 - 12.
Exercise with additional functionalities: Q3, Q9
Exercises about Cat, Dog, Mouse, overriding and overloading methods.
- https://www.sololearn.com/
- Clean Code, by Robert Martin
- Clean Coder by Robert Martin
Gitignore generated using gitignore.io