SyntaxFix
Write A Post
Hire A Developer
Questions
Using BufferedReader -
StringTokenizer st = new StringTokenizer(buf.readLine()); while(st.hasMoreTokens()) { arr[i++] = Integer.parseInt(st.nextToken()); }