PRN212_-_SU_2024_-_Block_5_-_FE_2643.webp
G

PRN212_-_SU_2024_-_Block_5_-_FE_2643.webp

Kizspy | Question: 12
(Choose 1 answer)
What is the purpose of marking the Singleton constructor as private?
A. To prevent instantiation of the class
B. To allow multiple instances of the class
C. To provide access to the class through a public constructor
D. To enforce encapsulation principles

  • Like
Reactions: namnamnam1305

Thông tin

Category
PRN212
Thêm bởi
good_luck
Ngày thêm
Lượt xem
3,140
Lượt bình luận
28
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom