Question: Due Date: As noted on Blackboard Concepts: Classes and objects, Array of objects, File IO Point value: 75 points You will write two classes for
Due Date: As noted on Blackboard Concepts: Classes and objects, Array of objects, File IO Point value: 75 points You will write two classes for program 7. Please submit all classes in one file. The name of the physical program file submitted xxxx program7 where xxxx is your Kean email id. Assignment: A veterinarian services many pets and their owners. As new pets are added to the population of pets being serviced, their information is entered into a flat text file. Each month, the vet requests a listing of all pets. You have to write a program to produce a report of animals and their owners from the data in the flat text file. Below is a description of the information on the text file The first line on the file contains the number of animals on the file (numeric). It can be used to determine the size of the array. Your program should work for any number of Animals. The fields below repeat for each animal o Owner name (String) o Birth year (numeric) o Bill balance (numeric) o Species (String) From the information provided, write a solution that includes the following An Animal class which includes: o Instance variables (4 points) o 2 Constructors (10 points) o Accessor and mutator methods (16 points) .Write a class xxxx program7 which utilizes the following An Array of Animal objects (5 points) o A method which reads the input file provided and stores the objects in the array of Animals. (10 points) o A method that formats and prints the output report. Please do not use a toString) method but rather call the getters of the Animal class to print the report. (7.5 points) o
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
