title: How to put `throws IOException` to the statement
body: <p>I am trying to implement a <code>class</code> from  <code>HighestScoreFile.java</code> and when I compile, I get this error : </p>
  
  <pre><code>...MemoryGame.java:211: error: unreported exception IOException; must be caught or declared to be thrown
                      HighestScoreFile.HighestScoreFile(input, hours, minutes, seconds, click);
                                                       ^
  1 error
  </code></pre>
  
  <p>Before I implement this <code>HighestScoreFile.java</code>, I have tested with a <code>main</code> class using </p>
  
  <pre><code>public static void main(String[] args) throws IOException
      {
          HighestScoreFile("abcdefg", 12, 13, 14, 30);
      }
  </code></pre>
  
  <p>The <code>HighestScoreFile.java</code> is used to save the data into a <code>Highest.txt</code>.</p>
  
  <p>But when I implement to another <code>.java</code> using the code below, it shows out that error.</p>
  
  <pre><code>HighestScoreFile.HighestScoreFile(input, hours, minutes, seconds, click);
  </code></pre>
  
  <p>How can I fix this problem?</p>