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

What else would need to be congruent to show that ABC DEF by AAS    (Apex)
Mali was introduced to the Islamic culture by
What were the main reasons why there was fighting between the Europeans colonies in North America ?
Convert 0.55 into fraction in simplest form
Is there a difference between a sheep flock and fold?
State one reason why sodium 24 isotope is rarely
My birthday is may 5th in korean how to say
How did “spa” philosophers attempt to understand humans:??
GIVING 19 POINTS!!!! The questions below refer to Lee's letter on secession. 1) According to Lee's letter, the greatest disaster the country could face would b
Owing to financial problems in the organization, the top management of an investment bank decided to reduce the number of middle managers by 10 percent. this is