मराठी

Identify the true statement. (a) All elements in an array of different datatype. (b) Some elements in an array of same datatype. (c) All elements in an array are of same datatype.

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 [पृष्ठ १७२]

APPEARS IN

रूपा पंडित Computer Applications [English] Class 10 ICSE
पाठ 7 Arrays - One Dimension
Exercises | Q 1. (iii) | पृष्ठ १७२
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×