Skip to content

Commit

Permalink
test: 테스트용 한세짱
Browse files Browse the repository at this point in the history
  • Loading branch information
sally-ksh committed Feb 21, 2022
1 parent 53d63df commit ef0eea7
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
11 changes: 11 additions & 0 deletions java-lotto.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
20 changes: 20 additions & 0 deletions src/Input.java
Original file line number Diff line number Diff line change
@@ -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();
}
}
1 change: 1 addition & 0 deletions src/Main.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
public class Main {
public static void main(String[] args) {
System.out.println("test");
}
}

0 comments on commit ef0eea7

Please sign in to comment.