You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 28, 2021. It is now read-only.
You've a good idea and most of the code is pretty decent, but it's not good practice to instantiate variables and methods using the static modifier. I'd recommend learning how Java's inheritance works, and then refactoring the repository as needed. I can link some of Java's documentation regarding how to do so if you're interested.
The text was updated successfully, but these errors were encountered:
I tried refactoring the code a bit, but it ended up with me rewriting a few modules. Take a look here and here for information regarding object inheritance in Java. Let me know if you have any more questions.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
You've a good idea and most of the code is pretty decent, but it's not good practice to instantiate variables and methods using the
static
modifier. I'd recommend learning how Java's inheritance works, and then refactoring the repository as needed. I can link some of Java's documentation regarding how to do so if you're interested.The text was updated successfully, but these errors were encountered: