title: Writing a method to remove vowels in a Java String
body: <p>I am a beginner of programming, and am writing a Java method to remove vowel in Strings, but I do not know how to fix this error: <code>";" expected</code> :</p>
  
  <pre><code>public String disemvowel(String s) {
  
      boolean isVowel(char c);
      if (c == 'a') {
          return true;
      } else if if (c == 'e') {
          return true;
      } else if if (c == 'i') {
          return true;
      } else if if (c == 'o') {
          return true;
      } else if if (c == 'u') {
          return true;
      }
      String notVowel = "";
      int l = s.length();
      for (int z = 0; z &lt;= l; z++) {
  
  
          if (isVowel == "false") {
              char x = s.charAt(z);
              notVowel = notVowel + x;
          }
      }
      return notVowel;
  }
  </code></pre>