Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case '5':
- System.out.println("Liste des voitures: \t");
- if (voiture.size() == 0){System.err.println("\nIl n'y a aucune voiture à afficher!");}
- else{
- for(Voiture i: voiture)
- System.out.println(i);}
- pause(scanChoix);
- break;
Add Comment
Please, Sign In to add comment