title: How to call a method from another class, which is in another .java file?
body: <p>The teacher gave us a .java file in which there is a method that I need to use in order to solve my question.</p>
  
  <p>Here's the question : 
  Call the method countEnglishWords() given in the file SentenceChecker. This method takes as input a String and outputs the number of English words it contains. </p>
  
  <p><strong>My problem is</strong> that I do not know how to call a method which is in another class which is in another .java file!</p>