PRO192_-_SU_2024_-_FE_2329.webp
Q

PRO192_-_SU_2024_-_FE_2329.webp

Kizspy | Question: 22
(Choose 2 answers)
Choose multiple correct answers.
A. private access modifier should be used for a variable or method to only be accessed within the same class
B. public access modifier should be used for a variable or method that should be accessible from any class,regardless of the package
C. protected access modifier should be used for a variable or method that should only be accessed within the same class and subclasses, in the same package
D. default (no modifier) access modifier only allows access in the same class

Thông tin

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

Share this media

Back
Bên trên Bottom