Home » Java Programming » Java.lang Class

What will be the output of the program? String a = "ABCD"; String b = a.toLowerCase(); b.replace('a','d'); b.replace('b','c'); System.out.println(b);

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!