title: Replace consonants in a string with next consonant in alphabet
body: <p>Here I am trying to input a string and compare the string letters to consonant string letters. When the input letter and consonant matches then output should print next letter of consonant.</p>
  
  <pre><code>Example:: input = java
           output = kawa  
  </code></pre>
  
  <p>here j and v are consonant so next letter after j is k, likewise after v we have w.</p>
  
  <pre><code>BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
  System.out.print("Enter any string = ");
  String inputString = bf.readLine().toLowerCase();
  
  for(int i=0; i &lt; inputString.length(); i++){
      inputChar = inputString.charAt(i);
  
      String consonants = "BCDFGHJKLMNPQRSTVWXYZ".toLowerCase();
      for(int j = 0; j &lt; consonants.length(); j++){
          stringChar = consonants.charAt(j);
  
          if(inputChar == stringChar){
          }  
  
      }
  }
  </code></pre>