PRN292c_-_FA_2023_-_1_1180.webp
lanhoa86

PRN292c_-_FA_2023_-_1_1180.webp

  • Media owner lanhoa86
  • Ngày thêm
(Choose 1 answer)
Which of the following statements is incorrect about access modifiers?
A. The public access modifier can be used only for methods.
B. It is recommended to define class instance variables as private variables since it achieves the encapsulation property of object-oriented design.
C. protected methods can be accessed only by derived classes of the class that implemented the protected methods.
D. If an instance variable is defined with a public access modifier, then that instance variable can be accessed by all classes.


Exit 40

Thông tin

Category
PRN292c
Thêm bởi
lanhoa86
Ngày thêm
Lượt xem
77
Lượt bình luận
1
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRN292c_-_FA_2023_-_1_1180.webp
File size
58.5 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom