What will be the value of str after line no.7?1 class string 2 {3 public static void main String ds[])4 {5 String str="A";6 str.concat("B");7 str+="C";8 }9 }
Reveal answer
Fill a bubble to check yourself
What will be the value of str after line no.7?1 class string 2 {3 public static void main String ds[])4 {5 String str="A";6 str.concat("B");7 str+="C";8 }9 }