Question: EX 3.5 What output is produced by the following code fragment? String mi, m2, m3; m1 = Quest for the Holy Grail; = m2

EX 3.5 What output is produced by the following code fragment? String mi, m2, m3; m1 = "Quest for the Holy Grail"; = m2 mi.toLowerCase(); m3 mi +m2 System.out.println (m3.replace('g', 'z'));
Step by Step Solution
3.52 Rating (149 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
