Advertisements
Advertisements
Question
Given:
int car[]= new int [10];
The name of the array is ______.
Options
int
car
new
10
MCQ
Fill in the Blanks
Advertisements
Solution
The name of the array is car.
Explanation:
In the declaration int car[] = new int[10];, car is the name (reference) of the array. It refers to an array of 10 integer elements.
shaalaa.com
Is there an error in this question or solution?
Chapter 7: Arrays - One Dimension - Exercises [Page 172]
