1.

What will be the output of the following code :- String city ="Madras" ; String str="MADAM"; city=city.substring(0,1).toLowerCase().concat(str+city.length()); System.out.println(city) ; System.out.println(str.replace('A','M')); ​

Answer»

ANSWER:

system.out.println BAAKI KHUD LIKH LENA



Discussion

No Comment Found