Search:

Type: Posts; User: mysticCHEEZE

Search: Search took 0.09 seconds.

  1. Re: finding the amt of words and chars in a give file

    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...
  2. Re: finding the amt of words and chars in a give file

    how would i go about putting the strings read into an array?
  3. finding the amt of words and chars in a give file

    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)
    ...
Results 1 to 3 of 3