ITEC 120 LAB 13 | Back to Lab index page |
Overloading methods
Make some additions to the BingoNumber class you wrote for lab 12.
So, now the client has the option
of specifying the letter and number of the BingoNumber that is getting created,
or, the client can specify the letter only ('B', 'I', 'N', 'G', or 'O'), and
have the constructor randomly generate a number (in the proper range), or, the
client can let the constructor generate both the letter and the number (this
would be the constructor with no parameters).