This topic contains a solution. Click here to go to the answer

Author Question: Assume s is "ABCABC", the method ________ returns an array of characters. (Read 59 times)

stock

  • Hero Member
  • *****
  • Posts: 573

Question 1

Assume s is "ABCABC", the method ________ returns a new string "aBCaBC".
◦ s.toLowerCase(s)
◦ s.replace('A', 'a')
◦ s.replace("ABCABC", "aBCaBC")
◦ s.replace('a', 'A')
◦ s.toLowerCase()

Question 2

Assume s is "ABCABC", the method ________ returns an array of characters.
◦ s.toCharArray()
◦ toChars(s)
◦ String.toChars()
◦ String.toCharArray()
◦ s.toChars()


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by stock on May 6, 2020

alvinum

  • Sr. Member
  • ****
  • Posts: 317
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 25% of students answer this correctly




stock

  • Member
  • Posts: 573
Reply 2 on: May 6, 2020
Great answer, keep it coming :)


mjenn52

  • Member
  • Posts: 351
Reply 3 on: Yesterday
:D TYSM

 

Did you know?

Of the estimated 2 million heroin users in the United States, 600,000–800,000 are considered hardcore addicts. Heroin addiction is considered to be one of the hardest addictions to recover from.

Did you know?

The National Institutes of Health have supported research into acupuncture. This has shown that acupuncture significantly reduced pain associated with osteoarthritis of the knee, when used as a complement to conventional therapies.

Did you know?

Eating food that has been cooked with poppy seeds may cause you to fail a drug screening test, because the seeds contain enough opiate alkaloids to register as a positive.

Did you know?

Most women experience menopause in their 50s. However, in 1994, an Italian woman gave birth to a baby boy when she was 61 years old.

Did you know?

Elderly adults are at greatest risk of stroke and myocardial infarction and have the most to gain from prophylaxis. Patients ages 60 to 80 years with blood pressures above 160/90 mm Hg should benefit from antihypertensive treatment.

For a complete list of videos, visit our video library