From 206b9aa75f38ea9767d25e57239b43f4fe4de8e7 Mon Sep 17 00:00:00 2001 From: Prasoon Date: Wed, 24 Jan 2018 21:28:38 +0530 Subject: [PATCH] Change access specifier to private --- Others/CountChar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;