mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-08 02:04:31 +08:00
Change access specifier to private
This commit is contained in:
@ -24,7 +24,7 @@ public class CountChar {
|
|||||||
* @return int: Number of characters in the passed string
|
* @return int: Number of characters in the passed string
|
||||||
* */
|
* */
|
||||||
|
|
||||||
public static int CountCharacters(String str) {
|
private static int CountCharacters(String str) {
|
||||||
|
|
||||||
int count = 0;
|
int count = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user