Answered step by step
Verified Expert Solution
Question
1 Approved Answer
OPTIONAL - DUE BEFORE MIDTERM This assignment will continue to work on using classes, ArrayLists, loops, and using a main method to run your program.
OPTIONAL - DUE BEFORE MIDTERM This assignment will continue to work on using classes, ArrayLists, loops, and using a main method to run your program. The Problem: Things required for full credit in this assignment: - a loop printing out all dog names - a loop printing out all cats names - a main method to run this program that has the following - prompts for the user so that no classes have to be made - user input for any variables in the Shelter constructor parameters Extra Credit: Add another animal subclass (any kind you can think of) and update the following methods to accommodate another animal: - Shelter.addAnimal() - Another loop for your animal of choice Extra Credit: Find a way to combine the loops for cats or dogs into a single method Please turn in your full class in a Zip folder so I can look at it and run it. Please submit zip files as: [First Initial]_[Last Name]_[Assignment Name].zip Week 5 Lecture Example.zip
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started