PRN212_-_FA_2024_-_RE_3094.webp
Thanh Sơn1

PRN212_-_FA_2024_-_RE_3094.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

Thông tin

Category
PRN212
Thêm bởi
Thanh Sơn1
Ngày thêm
Lượt xem
2,226
Lượt bình luận
7
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom