Question d’entretien chez Morgan Stanley

How to restrict Java class to create only 3 objects.