PRO192_-_REB5_-_FA_2023_1330.webp
lanhong87

PRO192_-_REB5_-_FA_2023_1330.webp

(Choose 1 answer)
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
has been neutered, and a textual description of its markings."Given that the Pet class has already been defined and you expect the Cat class to be used freely throughou the application, how would you make the opening declaration of the Cat class, up to but not including the fir opening brace? Use only these words and spaces: boolean, Cat, class, Date, extends, Object, Owner, Pet,private, protected, public, String. (Select the most correct declaration).
A. protected class Cat extends Owner
B. public class Cat extends Object
C. public class Cat extends Pet
D. private class Cat extends Pet

Exit (31
  • Like
Reactions: bách

Thông tin

Category
PRO192
Thêm bởi
lanhong87
Ngày thêm
Lượt xem
4,591
Lượt bình luận
22
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRO192_-_REB5_-_FA_2023_1330.webp
File size
70.7 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom