Created
March 29, 2019 13:50
-
-
Save AuroraNorthernQuarter/b2c178de8576d1b41b8e223973ec3f7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package testprogramm; | |
import java.io.*; | |
public class Kajikimagurokatsu { | |
public static void main(String[] args) { | |
} | |
String keyboardIn(){ | |
String str=""; | |
try{ | |
BufferedReader br = new BufferedReader | |
(new InputStreamReader(System.in)); | |
System.out.println("文字を入力してください。"); | |
str = br.readLine(); | |
System.out.println(str + " が入力されました。"); | |
}catch(IOException e){ | |
System.out.println("例外" + e + "が発生しました"); | |
}finally{ | |
} | |
return str; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment