posted 8 years ago
I would suggest it is quicker to use an array initialiser. There is no risk of miscounting the size of the array, nor of leaving any elements uninitialised.
I would also suggest you shouldn't call a class character (surely Character because classes begin with CapitalLetters) to avoid confusion with another class of the same name.
I would also suggest that you should get rid of the array and create a Stats class instead.