Hi to everyone.
I'm a beginner at Java and I'm studying a software develoopment course right now. I have a problem with my first assignment. In particular with the last exercise of the assignment that is about writing a program that shows a character distribution with a counter that shows how many times some character appears in a inputted string. I know I must set a Scanner, an int array and 2 'for' loops (one scanning the string inputted through Scanner and another to count for each Unicode chracter). My problem here is how can I count for each Unicode character and to add the count to the int array and ultimately output in a console each character with its count through 'System.out.println()'.
Thanks in advance.