the length of an array can be obtained by using which statement
Answers
Answered by
0
Explanation:
With the help of the length variable, we can obtain the size of the array. Examples: int size = arr[]. length; // length can be used // for int[], double[], String[] // to know the length of the arrays.
Similar questions
Chemistry,
2 months ago
Science,
2 months ago
Math,
2 months ago
Computer Science,
6 months ago
English,
6 months ago
Political Science,
10 months ago