Forging The Rings!
From Huben's Wiki
Line 91: | Line 91: | ||
* Add this latter constructor to class Ring. | * Add this latter constructor to class Ring. | ||
+ | The following changes are for class Forge. | ||
* Create an array of 9 Rings called nineRingsOfMen[], all constructed with the no-arguments constructor. | * Create an array of 9 Rings called nineRingsOfMen[], all constructed with the no-arguments constructor. | ||
* Add println() for the first and last of the 9 Rings. Remember that arrays start at: __. | * Add println() for the first and last of the 9 Rings. Remember that arrays start at: __. | ||
* Add another println(Ring.forged()). | * Add another println(Ring.forged()). |