one of the classes isn't compiling, would like some guidance as to how i can get it to work
<p>got some of the spec of the assignment below, some of it has not been fulfilled, any idea how i would do the bit "On completion a message should be written to the Terminal Window stating that the program completed successfully, giving the number of accounts read and the total balance" </p>

<p>thank you in advance</p>

<pre><code> import java.util.*;
 import java.io.*;

 public class TotalOccountBalances
 {
     // instance variables - replace the example below with your own
private int count;
private inFile file;    
private Scanner input;

/**
 * Method
 */
public void closeLink()
{      
    input.close();
}

/**
 * Method
 */
public void processFiles()
{
    while(input.hasNext())
    {
        string line=input.nextLine();

    }
    Count++;
}
</code></pre>

<p>}</p>
