PRO192_-_FA_2024_-_Block_5_-_FE_3237.webp
plum_blossom1

PRO192_-_FA_2024_-_Block_5_-_FE_3237.webp

Kizspy | Question: 25
(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
plum_blossom1
Ngày thêm
Lượt xem
3,642
Lượt bình luận
7
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom