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

Author Question: You compare two strings s1 and s2 using ________. (Read 23 times)

Diane

  • Hero Member
  • *****
  • Posts: 576

Question 1

"smiles".substring(1, 5) returns "mile".
◦ true
◦ false

Question 2

You compare two strings s1 and s2 using ________.
◦ compareTo(s1, s2)
◦ compare(s1, s2)
◦ s1.compareTo(s2)
◦ s1.compare(s2)


Related Topics

Need homework help now?

Ask unlimited questions for free

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

potomatos

  • Sr. Member
  • ****
  • Posts: 338
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 55% of students answer this correctly




Diane

  • Member
  • Posts: 576
Reply 2 on: May 6, 2020
Gracias!


kusterl

  • Member
  • Posts: 315
Reply 3 on: Yesterday
Wow, this really help

 

Did you know?

The familiar sounds of your heart are made by the heart's valves as they open and close.

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?

The people with the highest levels of LDL are Mexican American males and non-Hispanic black females.

Did you know?

The lipid bilayer is made of phospholipids. They are arranged in a double layer because one of their ends is attracted to water while the other is repelled by water.

Did you know?

The first war in which wide-scale use of anesthetics occurred was the Civil War, and 80% of all wounds were in the extremities.

For a complete list of videos, visit our video library