Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *Press ENTER*
- Syntax ini berfungsi untuk membuat hasil codingan kita berjalan satu per satu agar tidak terjadi balapan
- static String getLine()
- {
- BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
- String line = null;
- try
- {
- line = in.readLine();
- }
- catch (IOException ex) {
- ex.printStackTrace();
- }
- return line;
- }
Advertisement
Add Comment
Please, Sign In to add comment