how to add exception with these case
Random random = new Random(); y=random.nextInt(50);
then if I ask user input and he enter 50+ value. is there such exception like out of bound in random?
Aucun commentaire:
Enregistrer un commentaire