acoffman8098 acoffman8098
  • 04-07-2019
  • Computers and Technology
contestada

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

a) True
b) False

Respuesta :

PhantomWisdom PhantomWisdom
  • 13-07-2019

Answer:

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.

Answer Link

Otras preguntas

Choose the answer. Which best describes the falling action of a story?
select all the statements that are true for the given parabola
What was the major cornerstone of jimmy carter's foreign policy while president?
The destruction of Pan Am Flight 103 over Lockerbie, Scotland killed many Americans and was a terrible act of domestic terrorism. 1) True 2) False
What are the zeros of the function? f(x)=3x^2−24x+36 Enter your answers in the boxes. The zeros of f(x) are and
elimination/subtraction 3x - 10y=-704x +9y = 63(can you please explain in step by step?)​
Review the case. Dred Scott v. Sandford Which most accurately explains how this Supreme Court ruling acted as a catalyst for the Civil War? 1) It established a
Can some one find the area and perimeter?? Please!!!
Simplify the following expression Algebra Fraction ​
20 elements of the periodic table​