Skip to content

Commit a61f80d

Browse files
committed
Scanner Update in Main Method
1 parent 1bf380f commit a61f80d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Inout.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,6 @@ public static void main(String[] a)
8585
System.out.printf("String all in upper case using formatting : %S\n",str1);
8686
System.out.printf("String all in lower case using formatting : %s\n",str1);
8787

88+
scn.close();
8889
}
8990
}

0 commit comments

Comments
 (0)