ICSE Class 10 Computer Applications
Question 11 of 30
Solved 2025 Specimen Paper ICSE Class 10 Computer Applications — Question 11
Back to all questionsx[49]=100
Reason — In Java, arrays use zero-based indexing, meaning the first element of the array is at index 0. For an array with n elements, the last element is at index n - 1.
Given a single-dimensional array with 50 elements, the indices range from 0 to 49. Thus, the correct index for the last element is 49.