diff --git a/core-java-modules/core-java-string-operations/src/main/java/com/baeldung/isnumeric/CheckIntegerInput.java b/core-java-modules/core-java-string-operations/src/main/java/com/baeldung/isnumeric/CheckIntegerInput.java deleted file mode 100644 index 6c08615c74..0000000000 --- a/core-java-modules/core-java-string-operations/src/main/java/com/baeldung/isnumeric/CheckIntegerInput.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.baeldung.isnumeric; - -import java.util.Scanner; - -public class CheckIntegerInput { - - public static void main(String[] args) { - try (Scanner scanner = new Scanner(System.in)) { - System.out.println("Enter an integer : "); - - if (scanner.hasNextInt()) { - System.out.println("You entered : " + scanner.nextInt()); - } else { - System.out.println("The input is not an integer"); - } - } - } -} \ No newline at end of file