Advertisements
Advertisements
प्रश्न
Identify the true statement.
पर्याय
All elements in an array of different datatype.
Some elements in an array of same datatype.
All elements in an array are of same datatype.
he first element in an array is of different datatype from the other elements.
MCQ
Advertisements
उत्तर
All elements in an array are of same datatype.
Explanation:
- An array in Java stores multiple values of the same data type under a single name.
- All elements of an array must be of the same type.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 7: Arrays - One Dimension - Exercises [पृष्ठ १७२]
