Computer Science, asked by Michaelthompson, 10 months ago

What is the statement to find the length of an array

Answers

Answered by hazel908
0
To find the length of an array, use array data member 'length'. 'length' gives the number of elements allocated, not the number inserted. Write a class with a main method that creates an array of 10 integers and totals them up
Plzzzzzzzzzzzz plzzzzzzzzzzzz plzzzzzzzzzzzz mark me brainliest
Answered by binnybhatia25
2

Answer:

To find length of an array A you should use the length property. It is as A.length, do not use A.length () its mainly used for size of string related objects. The length property will always show the total allocated space to the array during initialization.

Explanation:

hope it helps plz mark as brainlist

Similar questions