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));
javaFundamentals u
jivi i
java i
jiviFundamentals u
compile-time error