martedì 17 novembre 2009

Classe Testa Carta-Black Jack

Questa classe come Testa Mano e Testa Mazzo provano se le classi Carta,Mano e Mazzo funzionino.


public class TestaCarta{
public static void main(String[] args){
int n=Integer.parseInt(args[0]); //converte una stringa in un numero
Carta a1=new Carta(n);
a1.ioSono();
}
}

Nessun commento: