diff --git a/Others/CountChar.java b/Others/CountChar.java index 25f23d61..6504aabb 100644 --- a/Others/CountChar.java +++ b/Others/CountChar.java @@ -24,7 +24,7 @@ public class CountChar { * @return int: Number of characters in the passed string * */ - public static int CountCharacters(String str) { + private static int CountCharacters(String str) { int count = 0;