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 68 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
Wow, this really help


peter

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

 

Did you know?

According to the National Institute of Environmental Health Sciences, lung disease is the third leading killer in the United States, responsible for one in seven deaths. It is the leading cause of death among infants under the age of one year.

Did you know?

Astigmatism is the most common vision problem. It may accompany nearsightedness or farsightedness. It is usually caused by an irregularly shaped cornea, but sometimes it is the result of an irregularly shaped lens. Either type can be corrected by eyeglasses, contact lenses, or refractive surgery.

Did you know?

After a vasectomy, it takes about 12 ejaculations to clear out sperm that were already beyond the blocked area.

Did you know?

Chronic necrotizing aspergillosis has a slowly progressive process that, unlike invasive aspergillosis, does not spread to other organ systems or the blood vessels. It most often affects middle-aged and elderly individuals, spreading to surrounding tissue in the lungs. The disease often does not respond to conventionally successful treatments, and requires individualized therapies in order to keep it from becoming life-threatening.

Did you know?

In ancient Rome, many of the richer people in the population had lead-induced gout. The reason for this is unclear. Lead poisoning has also been linked to madness.

For a complete list of videos, visit our video library