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
English,
3 months ago
Geography,
3 months ago
Social Sciences,
3 months ago
Computer Science,
7 months ago
English,
7 months ago
Political Science,
1 year ago