You have to call the constructor of this class as many times as necessary. To call the constructor use the word «new», then indicate the name of the class which contains needed objects. Also in the brackets after the class name indicate variables-parameters of the constructor.
Comments
Leave a comment