<awangdev>843. Guess the Word_1.java
private int countMatch(String a, String b) {

        int count = 0;
        for (int i = 0; i < 6; i++) {
            if (a.charAt(i) == b.charAt(i)) count++;
        }
        return count;
    }
private int sample_funcname ( String var_1 , String var_2 ) {
  int var_4 = 0 ;
  for ( int var_5 = 0 ;
  var_5 < 6 ;
  var_5 ++ ) {
    if ( var_1 . charAt ( var_5 ) == var_2 . charAt ( var_5 ) ) var_4 ++ ;
  }
  return var_4 ;
}
