PRO192_-_SP_2025_-_Block_5_-_1_3854.webp
M

PRO192_-_SP_2025_-_Block_5_-_1_3854.webp

Kizspy | Question: 25
(Choose 2 answers)
FUSTER, LOW LOM
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
Mahito2001
Ngày thêm
Lượt xem
3,056
Lượt bình luận
10
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom