mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-07 17:56:02 +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
|
||||
* */
|
||||
|
||||
public static int CountCharacters(String str) {
|
||||
private static int CountCharacters(String str) {
|
||||
|
||||
int count = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user