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

can you help me with this problem please
someone help me! ASAP...
A baker baked some loaves of bread. 240 loaves were sold by the end of the day. The baker was then left with 9/25 of the number of loaves that were baked. How m
find the seventh term of the geometric sequence, given the first term and common ratio. a1=1 r=-2/3
HELP ME!!! 3 more questions!!! To go!!!
explain why metallic bondong do not conduct electricity
The perimeter of an equilateral triangle is 12 feet find the area of the triangle
How many atoms of aluminum are in one formula unit of aluminum chloride? One Two Three Six
In tossing 5 fair coins, what is expected number of heads
You need to find the distance across a river, so you make a triangle. BC is 661 feet, m∠B=103.2° and m∠C=14.4°. Find AB. A. 299 ft B. 168 ft C. 18