What is the output of following code: String s1 = new String("java"); String s2 = s1.replace('a','i'); s1.concat("Fundamentals"); System.out.println(s1); System.out.println((s1+s2).charAt(5));
Reveal answer
Fill a bubble to check yourself