Question: Please fast .. ng s3= new String(Welcome to Java); ing s4 = Welcome to Java; are the results of the following expressions? a. s1==s2 b.

Please fast ..
ng s3= new String("Welcome to Java"); ing s4 = "Welcome to Java"; are the results of the following expressions? a. s1==s2 b. s1==s3 c. si=s4 d. "Welcome to Java".replace("Java", "HTML") e. sl replace('o', 'T') f. sl.replaceAll("o", "T") g. s1.replaceFirst("o", "T") Liang, Introduction to Java Programming, Tenth Edition, (c) 2016 Pearson Education, Inc. All rights reserved
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
