EPAM Systems interview question

write a python program to allow only to create 5 objects of a class , for 6 th object creation , return not allowed message.

Interview Answer

Anonymous

7 Nov 2024

similar to singletone , only change is allow 5 object