How to create an unlimited number of instances of a class?
Let's say I write the application on calculation of funds. I have a class card, which piests amount of the card. But, if the user wants to create 10 cards, how do I create all these objects?
After all, to manually write all 10 sites is not convenient, and especially if polzoval want 100 cards.
Unlimited how to create objects of a class?