Class issue java
<p>I wrote a flesch reading program that uses another class. I was under the impression that simply having the two classes saved in the same folder would enable one to access the other but I am getting errors. Any ideas.</p>

<p>The error I am getting is:</p>

<pre><code>Flesch.java:36: cannot find symbol
symbol  : method getSyllableCt()
location: class Flesch 
    sllyablesCt = getSyllableCt();
</code></pre>

<p>flesh is here:</p>

<pre><code>public class Flesch{

public static void main(String args[])throws Exception{
    int syllablesCt,
         wordCt,
         sentenceCt;
    double flesch;

    String listStr;
    StringBuffer sb = new StringBuffer();

    String inputFile = JOptionPane.showInputDialog("What file do you want to sort?");

    BufferedReader inFile = new BufferedReader(new FileReader(inputFile));

    sb.append(inFile.readLine());

    //listStr = inFile.readLine();
    while (inFile.readLine() != null){

        sb.append(inFile.readLine());
        //listStr = inFile.readLine();

    }


    Sentence sentence = new Sentence(sb);
    wordCt = getWordCt();
    sentenceCt = getSentenceCt();
    System.out.println("The sentence count is" + sentenceCt);
    System.out.println("The word count is" + wordCt());
    Word word = new Word(getWords());

    sllyablesCt = getSyllableCt();
    System.out.println("The syllable count is" + syllablesCt);

    flesch = (.39 * wordCt / sentenceCt) + (11.8 * syllablesCt / wordCt) - 15.59;
    System.out.println("The Flesch Readability of this document is" + flesch);

    inFile.close();
}
}
</code></pre>
