Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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).toUpperCase0Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started