From ef0eea72cc0fc5dd40b50fb3a5ecfbc3ce217cff Mon Sep 17 00:00:00 2001 From: sally-ksh Date: Mon, 21 Feb 2022 16:44:34 +0900 Subject: [PATCH] =?UTF-8?q?test:=20=ED=85=8C=EC=8A=A4=ED=8A=B8=EC=9A=A9=20?= =?UTF-8?q?=ED=95=9C=EC=84=B8=EC=A7=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- java-lotto.iml | 11 +++++++++++ src/Input.java | 20 ++++++++++++++++++++ src/Main.java | 1 + 3 files changed, 32 insertions(+) create mode 100644 java-lotto.iml create mode 100644 src/Input.java diff --git a/java-lotto.iml b/java-lotto.iml new file mode 100644 index 00000000..c90834f2 --- /dev/null +++ b/java-lotto.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/Input.java b/src/Input.java new file mode 100644 index 00000000..6db5e9c6 --- /dev/null +++ b/src/Input.java @@ -0,0 +1,20 @@ +import java.util.Scanner; + +public class Input { + private static final Scanner scanner = new Scanner(System.in); + + public Input() { + } + + public static String nextLine() { + return scanner.nextLine(); + } + + public static int nextInt() { + return Integer.parseInt(nextLine()); + } + + public static void scanClose() { + scanner.close(); + } +} diff --git a/src/Main.java b/src/Main.java index 5cda4cb8..57e088b5 100644 --- a/src/Main.java +++ b/src/Main.java @@ -1,4 +1,5 @@ public class Main { public static void main(String[] args) { + System.out.println("test"); } }