Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions