PRO192_-_C1_-_FE_-_SU_2023_391.webp
H

PRO192_-_C1_-_FE_-_SU_2023_391.webp

(Choose 1 answer)
Given:
20. public class CreditCard {
22. private String cardID;
23. private Integer limit;24. public String ownerName;
26. public void setCardInformation(String cardID,
27. String ownerName,
28 Integer limit) { 29. this.cardID = cardID;
30. this.ownerName = ownerName;
31. this.limit = limit;
32.}
33.
Which is true?
A. The class is fully encapsulated.
B. The code demonstrates polymorphism.
C. The ownerName variable breaks encapsulation.
D. The cardID and limit variables break polymorphism.
Exit (48

Thông tin

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

Image metadata

Filename
PRO192_-_C1_-_FE_-_SU_2023_391.webp
File size
67.3 KB
Dimensions
1713px x 893px

Share this media

Back
Bên trên Bottom