Computer Science, asked by harsh7842, 11 months ago

How are indices numbered in java?​

Answers

Answered by jaswalnarayan
3

Answer:

The java. util. ArrayList. indexOf(Object) method returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element.

I hope it helps you

Answered by ruchirkalokhe
2

The indices in java are numbered from 0(zero) and space is also counted as a charecter.

Hope this helps you!

PLEASE MARK AS THE BRAINLIEST ANSWER!

Similar questions