Closing scanners.

This commit is contained in:
Hassan
2020-01-28 18:34:52 +02:00
parent 4f45c5a479
commit a1f59c38b1
27 changed files with 29 additions and 4 deletions

View File

@ -13,6 +13,7 @@ public class PrimeCheck {
} else {
System.out.println(n + " is not a prime number");
}
scanner.close();
}
/***