PRN212_-_FA_2024_-_Block_5_-_FE_3223.webp
Shoko2002

PRN212_-_FA_2024_-_Block_5_-_FE_3223.webp

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

Share this media

Back
Bên trên Bottom