this

case 0 : this . suit = Suit. CLUBS ; break ;

this

case 1 : this . suit = Suit. HEARTS ; break ;

this

case 2 : this . suit = Suit. DIAMONDS ; break ;

this

case 3 : this . suit = Suit. SPADES ; break ;

" is invalid."

out

default : System . out . println ( "Suit " + suit + " is invalid." ) ;

if

if ( faceValue >= 0 && faceValue < MAX_FACE_VALUES )

this

this . faceValue = faceValue ;

else

else