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 70 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
Excellent


chjcharjto14

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

 

Did you know?

Street names for barbiturates include reds, red devils, yellow jackets, blue heavens, Christmas trees, and rainbows. They are commonly referred to as downers.

Did you know?

Though “Krazy Glue” or “Super Glue” has the ability to seal small wounds, it is not recommended for this purpose since it contains many substances that should not enter the body through the skin, and may be harmful.

Did you know?

Medications that are definitely not safe to take when breastfeeding include radioactive drugs, antimetabolites, some cancer (chemotherapy) agents, bromocriptine, ergotamine, methotrexate, and cyclosporine.

Did you know?

Drying your hands with a paper towel will reduce the bacterial count on your hands by 45–60%.

Did you know?

Never take aspirin without food because it is likely to irritate your stomach. Never give aspirin to children under age 12. Overdoses of aspirin have the potential to cause deafness.

For a complete list of videos, visit our video library