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

Author Question: "unhappy".substring(2) returns "happy". (Read 108 times)

ETearle

  • Hero Member
  • *****
  • Posts: 580

Question 1

To concatenate s1, s2, s3, and s4, you write ________.
◦ ((s1.concate(s2)).concate(s3)).concate(s4);
◦ s1.concate(s2).(concate(s3).concate(s4));
◦ s1.concate(s2).concate(s3).concate(s4);
◦ s1.concate(s2) + s3.concate(s4);

Question 2

"unhappy".substring(2) returns "happy".
◦ true
◦ false


Related Topics

Need homework help now?

Ask unlimited questions for free

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

joshraies

  • Sr. Member
  • ****
  • Posts: 351
Reply #1 on: May 6, 2020
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 65% of students answer this correctly




ETearle

  • Member
  • Posts: 580
Reply 2 on: May 6, 2020
YES! Correct, THANKS for helping me on my review


shewald78

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

 

Did you know?

Glaucoma is a leading cause of blindness. As of yet, there is no cure. Everyone is at risk, and there may be no warning signs. It is six to eight times more common in African Americans than in whites. The best and most effective way to detect glaucoma is to receive a dilated eye examination.

Did you know?

The term bacteria was devised in the 19th century by German biologist Ferdinand Cohn. He based it on the Greek word "bakterion" meaning a small rod or staff. Cohn is considered to be the father of modern bacteriology.

Did you know?

When blood is exposed to air, it clots. Heparin allows the blood to come in direct contact with air without clotting.

Did you know?

Nearly all drugs pass into human breast milk. How often a drug is taken influences the amount of drug that will pass into the milk. Medications taken 30 to 60 minutes before breastfeeding are likely to be at peak blood levels when the baby is nursing.

Did you know?

Opium has influenced much of the world's most popular literature. The following authors were all opium users, of varying degrees: Lewis Carroll, Charles, Dickens, Arthur Conan Doyle, and Oscar Wilde.

For a complete list of videos, visit our video library