Computer Science, asked by korlabalaji1997, 4 days ago

5. Predict the output. (2 Marks) import java.util.*; public class Test2 { public static void main(String args() { String s1="hello how are you"; String replaceString=s1.replace('h','1'); System.out.println(replaceString); } } tello how are you o o tello tow O tello tow are you tello how​

Answers

Answered by nakkadevi1977
0

Explanation:

Predict the output. (2 Marks) import java.util.*; public class Test2 { public static void main(String args() { String s1="hello how are you"; String replaceString=s1.replace('h','1'); System.out.println(replaceString

Similar questions