183k views
3 votes
Java arrays can store primitive types and Strings, but cannot store any other type of Object other than Strings. Group of answer choices True False

User Petezurich
by
6.2k points

1 Answer

7 votes

Answer:

The answer is "False".

Step-by-step explanation:

In java array is an object containing elements of a related kind of information. Moreover, the series elements are stored in a continuous location of memory. It is a system of information, in which we hold strong similarities.

  • Array may hold just a collection of defined elements.
  • In java, the array is can store both primitive or non-primitive data types, and it can store objects and other than string.

User Urusha
by
6.3k points