PRN212_-_SU_2024_-_FE_2412.webp
Bích Hạnh

PRN212_-_SU_2024_-_FE_2412.webp

Kizspy | Question: 14
(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
Bích Hạnh
Ngày thêm
Lượt xem
3,568
Lượt bình luận
30
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom