Question: pleas anse all Q on java pleas 6. What is the expected output of the following: System.out.print(Islam is our religion.replace('1','1')); (1 Point) Enter your answer

pleas anse all Q on java pleas pleas anse all Q on java pleas 6. What is the expected

6. What is the expected output of the following: System.out.print("Islam is our religion".replace('1','1')); (1 Point) Enter your answer 7. What is the expected output of the following: System.out.print("Islam is our religion".replaceAll("Islam", "ISLAM")); (1 Point) Enter your answer 8. What is the expected output of the following: System.out.print("Islam is our religion".replaceAll("i","I")); (1 Point) Enter your answer 9. What is the expected output of the following: System.out.print("Islam is our religion".replaceFirst("1","1")); (1 Point) Enter your

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!