From 7ee47656f2db13cd36676a8932e943a532ef43b1 Mon Sep 17 00:00:00 2001 From: Debasmitaniki <36996495+Debasmitaniki@users.noreply.github.com> Date: Thu, 10 Oct 2019 23:25:07 +0530 Subject: [PATCH] Update wttest.java Length of string explicitly calculated. --- wttest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wttest.java b/wttest.java index 0f39f26..98f97f3 100644 --- a/wttest.java +++ b/wttest.java @@ -13,7 +13,8 @@ public static void main(String args[]) String str=obj.nextLine(); char x[]=str.toCharArray(); System.out.println("The character array now is--: "); - for(int i=0;i