sethwilkes04 sethwilkes04
  • 13-10-2020
  • Computers and Technology
contestada

If String str = "United States";, then what is the value of str.indexOf("united");?

−1
0
1
2
3

Respuesta :

nandpatel542 nandpatel542
  • 22-10-2020

Answer:

-1

Explanation:

due to the fact their is no capital "U" it will -1

Answer Link

Otras preguntas

SOMEONE PLEASE HELP ME! I'M HORRIBLE AT GEOMETRY!
Someone help me with this please!
Did the cotton gin pick cotton ? And how do you know?
How many centimeters are equal to 7 meters? Enter your answer in the box.
What act led the US to declare war against Japan and formally draw the US into WWII? A) Italy's Invasion of Ethiopia B) Bombing of Pearl Harbo c) Germany's inva
PLEASE HELP ME ASAPPP
In the movie "Coco", Miguel feels torn between listening to his family and listening to his heart. Write about a time when you felt the same struggle. Has there
Our school district should switch to single-gender classrooms. Which of the following supporting details provides the most relevant and credible evidence for th
PLEASE HELP ME What is the value of x? 2x +10 & 4x + 20 Answers: A. 20 B. 25 C. 180 D. 120
macromolecules are made up of A- chromatin B-organelles c-polymers d-monomers