We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3c3853 commit 17e19a0Copy full SHA for 17e19a0
string.java
@@ -1,6 +1,8 @@
1
//s will only print abhishek and not concat sharma because s is only reffred to string abhishek not on abhishek sharma
2
-public class string {
3
- public static void main(String[] args) {
+public class string
+{
4
+ public static void main(String[] args)
5
+ {
6
String s="abhishek";
7
s.concat("sharma");
8
System.out.println(s);
0 commit comments