I have a String s = java; What is the output when I say s.replaceAll('j', 'k'); Also what is the value of s after replacing?
replaceAll take two strings as parameter but in the given question characters are given as parameter hence it is an error