JAVA Strings
String str1 = "Kolkata".replace('k', 'a');In the above statement, the effect on string Kolkata is

The first occurrence of k is replaced by a.
Displays error message
All characters a are replaced by k.
All characters k are replaced by a.

ANSWER DOWNLOAD EXAMIANS APP