Professional Documents
Culture Documents
company;
public class DN05 {
public static void main(String[] args) {
class char1 {
final int MAX_CHAR = 256;
if (str.charAt(i) == ch[j])
find++;
}
if (find == 1)
System.out.println(
"Number of Occurrence of "
+ str.charAt(i)
+ " is:" + count[str.charAt(i)]);
}
}
// Driver Code
public void main(String[] args) {
String str = "abc abe axc";
char1(str);
}
}
}
}