+91-85006-22255
What will be the output of the following program?
public class SwitchBoard { public static void main(String[] ats) { String x = "mno"; x.toUpperCase(); String y = x.replace('n', 'n'); y = y + "abc"; System.out.println(y); }}
Topic: toLowerCase() And toUpperCase() Methods In Java
Read this topic Take test on this topic
Open In App