Ok I've redone the code but I have another issue. How do I read more than one line?
import java.io.*;
import java.util.*;
import java.util.StringTokenizer;
class Main
{
public static...
Type: Posts; User: mysticCHEEZE
Ok I've redone the code but I have another issue. How do I read more than one line?
import java.io.*;
import java.util.*;
import java.util.StringTokenizer;
class Main
{
public static...
how would i go about putting the strings read into an array?
So my code compiles fine, but I get a run-time error
Exception in thread "main" java.util.NoSuchElementException
at java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
...