T
Temp31415
I'm writing a blackjack program in Java by creating a Card class and
creating multiple instances (52 in fact) of the class. I was wondering
if there's a way to create these instances at runtime using a loop
instead of going through and actually creating each in the code.
If anybody has a better idea how to do this that would be great too.
Thank You!
creating multiple instances (52 in fact) of the class. I was wondering
if there's a way to create these instances at runtime using a loop
instead of going through and actually creating each in the code.
If anybody has a better idea how to do this that would be great too.
Thank You!