Q25.webp
N

Q25.webp

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
NgocHanh90
Ngày thêm
Lượt xem
1,380
Lượt bình luận
4
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom