HeckinBrandon
HeckinBrandon HeckinBrandon
  • 01-12-2020
  • Computers and Technology
contestada

What is the index of 7 in this list?
that list being [5, 6, 10, 7, 3, 2.5]

7
4
2
3

Any brainliest beggars will be flagged

Respuesta :

jffrydsr
jffrydsr jffrydsr
  • 01-12-2020

Answer:

-1 (out of range).

Explanation:

Index '7' cannot exist in 0-indexed array of size '6'.

If return type is 'Integer' out-of-range exception should be thrown.

[ 0, 1,  2, 3, 4,  5] :: indices. (length = 6)

[ 5, 6, 10, 7, 3, 2.5 ] :: elements.

Answer Link

Otras preguntas

0.000007 in standform
Stacy is making a scale drawing of her backyard. There is a triangular-shaped flower garden with dimensions of 6feet, 8feet, and 10ft. She is using the scale 1i
How did the invading Huns contribute to the fall of the western Roman Empire? A)By sacking the city of Rome in 410 C.E. B)By completely disrupting trade along t
PLEASE HELP WILL GIVE BRAINLIEST AND 68 POINTS!!!!!!!!!!!!!!!!!!!!1.what effect did the Zimmerman note have on the United States' position in the war?A.) It pus
Explain how you know 3 exponent 4 is equal to 9 exponent 2 without calculating the values?? Explain it with words......
can u please help me. just zoom in to see better help me plz ​
What is the capital of Nevada.
Complete the table to investigate dilations of exponential functions.
I NEED HELP W THIS QUESTION ASAP
2 3 2/15+ 5 2 8/15+ 1 6 1/15=​