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 61 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
:D TYSM


carlsona147

  • Member
  • Posts: 341
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

Nitroglycerin is used to alleviate various heart-related conditions, and it is also the chief component of dynamite (but mixed in a solid clay base to stabilize it).

Did you know?

Oliver Wendell Holmes is credited with introducing the words "anesthesia" and "anesthetic" into the English language in 1846.

Did you know?

It is difficult to obtain enough calcium without consuming milk or other dairy foods.

Did you know?

The newest statin drug, rosuvastatin, has been called a superstatin because it appears to reduce LDL cholesterol to a greater degree than the other approved statin drugs.

Did you know?

Sildenafil (Viagra®) has two actions that may be of consequence in patients with heart disease. It can lower the blood pressure, and it can interact with nitrates. It should never be used in patients who are taking nitrates.

For a complete list of videos, visit our video library