본문 바로가기

WIL(What I Learned)

java input (Scanner class)

import java.util.Scanner;

class Main {
  public static void main(String[] args) {
	Scanner scanner = new Scanner(System.in);
	String sth = scanner.nextLine();
}

추후 수정 요망