Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class CharCount {
- public static void main(String[] args){
- int[] count = new int[256];
- char[] arr = new char[256];
- for (int i = 0; i < args[0].length; i++){
- char c = args[0].charAt(i)
- for (int j = 0; j < 256; j++){
- if (arr[j] == c)
- j = 256;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement