(Solved):Purpose: To practice writing a class that uses aggregation and that has an array as a field. To read data from a text file. In Java, Write the class files and a sample Driver class to test the code… View Answer…

 

Question

Purpose: To practice writing a class that uses aggregation and that has an array as a field. To read data from a text file. In Java, Write the class files and a sample Driver class to test the code for the following: You are writing code for a veterinary office.

Each human client will have:

A last name

A first name

An address

A client ID

number of visits

Outstanding Balance

An array of Pets (aggregation)

Each Pet will

Scroll to top