Question: EASY JAVA QUESTIONS Question 28 1 pts For String c = Now is the time for all. The Java statements String i -c.substring(7); String j-

EASY JAVA QUESTIONS

EASY JAVA QUESTIONS Question 28 1 pts For String c = "Now

Question 28 1 pts For String c = "Now is the time for all". The Java statements String i -c.substring(7); String j- c.substring(4, 15); will result in: O i-"he time for alr and,-"is the time" O the time for all and j - "s the time" O the time for all and j - "is the time" ihe time for all and j-"s the time" Question 29 1 pts Consider the String below: String r = "a toyota", Which of the following will create the String r1-"a TOYOTa"? O String r1- r.replace toyot" TOYOT" O String r1- rreplaceftT) r1-r-replace(o'.'0'); r1- r.replacely.Y); String r1 rreplacef'tT).replacefo 0)replacefy.Y O String r1- rsubstring(2, 4).toUpperCase0

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!