Multiple Choices
OF
(Choose 2 answers)
You have been given a design document for a veterinary registration system for implementation in Java. It
states:
"A pet has an owner, a registration date, and a vaccination-due date. A cat is a pet that has a flag indicating
whether it has been neutered, and a textual description of its markings."Given that the Pet class has already been defined, which of the following fields would be appropriate for inclusion in the Cat class as members?
(Select the most appropriate two declarations).
A. Pet thePet;
B. Date registered;
C. Date vaccination Due;
D. Cat theCat;
E. boolean neutered;
F. String markings;