Dice class for java course
My instructor wants us to write a dice class that will roll a die, return the value rolled and return a representation of a die face as a String object. Now, none of that is a problem. The problem for me is that she wants this class to do all of that using her pre-written program that has no variables that will hold String data.
Am I missing something? Is there some way to make that program display that String data even though there are only integer variables in the program? We're not allowed to modify her program so I'm lost. Can anyone clue me in? Thanks.