Counting Character Appearances in a String

package array; public class Character_count { public static void main(String[] args) { String s="Gunasekaran"; char[]c=s.toCharArray(); for(int j=0;j

Feb 25, 2025 - 17:21
 0
Counting Character Appearances in a String
package array;

public class Character_count {

        public static void main(String[] args) {

            String s="Gunasekaran";     
            char[]c=s.toCharArray();

                for(int j=0;j
                 FINDING THE CHARACTER WHICH HAS THE ONE COUNT VALUE

package array;

public class Character_count {

        public static void main(String[] args) {

            String s="Gunasekaran";     
            char[]c=s.toCharArray();

                for(int j=0;j