Ask Question
9 November, 13:37

1) All the elements of an array in Java MUST conform to the same data type.

a) True

b) False

+1
Answers (2)
  1. 9 November, 13:57
    0
    TRUE

    Explanation:

    The array is allow to store the multiple values but with same data type.

    It cannot store element with different data type.

    For example:

    int array[] = {1, 'b', 8.7, 9, 'z'}

    the above is wrong way to declare the array.

    the correct ways is:

    int array[] = {1,2,3,4};

    float array[] = {1.2, 3.4, 9.6};

    we can store only same data type element in multiple tiles.
  2. 9 November, 14:47
    0
    True.

    Explanation:

    All the elements of an array in Java MUST conform to the same data type.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “1) All the elements of an array in Java MUST conform to the same data type. a) True b) False ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers