Question: Customer Pet Operation Type int custid (PK) String custTitle String custName String custPhone int petld (PK) int custid (FK) String petName String petType int petAge

 Customer Pet Operation Type int custid (PK) String custTitle String custName

Customer Pet Operation Type int custid (PK) String custTitle String custName String custPhone int petld (PK) int custid (FK) String petName String petType int petAge int optid (PK) String optName float optPrice Veterinary Clinic Operation Payment int operld (PK) int optid (FK) int petid (FK) Date operDate (FK) int paymld (PK) int operld (FK) float payAmount Date payDate Q1. Write a method named backupPatsDistinct as it will get the argument mapArray (MAP Array of objects of class Pet) and will not return any value to back. (10 p) Based on the petType field of every element (Pet) of the mapArray, objects of "Cat's have to be written into the object file "CATS.DAT" and the objects of "DOG"s have to be written into "DOGS.DAT

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!