Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Solar System
Congratulations! You're submitting your assignment.
Comprehension Questions
initialize
method in your class?To make sure that all instances of the class were imbued with the specified instance variables as soon as they were created.
| Describe an instance variable you used and what you used it for. |
The @year instance variable held the year that a book describing a given planet was published.
| Describe what the difference would be if your
SolarSystem
used anArray
vs aHash
. |(Does this refer to Wave 1? Because the finished Wave 3 version has classes and arrays but no hashes.) In Wave 2, having a hash allowed us to save specific details about each planet under a system of keys. But we were able to do substantially the same thing using class variables in the final, Wave 3 version.)
| Do you feel like you used consistent formatting throughout your code? |
I certainly tried to do that.