Reformatting

master
sgoudham 4 years ago
parent 1010e508ce
commit 7595af3049
No known key found for this signature in database
GPG Key ID: EF51A29A50FB754C

@ -8,12 +8,7 @@ public class AnimalMain {
private static void displayAnimals() {
// Creating an array of animal objects
AnimalHelper helper = new AnimalHelper(new Animal[] {
new Cow(),
new Cat(),
new Dog(),
new Horse()
});
AnimalHelper helper = new AnimalHelper(new Animal[] { new Cow(), new Cat(), new Dog(), new Horse() });
// Displaying information about the animals
helper.displayInformation();

Loading…
Cancel
Save