Question: We are learning Arrays this week. In Java, Array is a collection of elements of the same data type that are stored together. Arrays are
We are learning Arrays this week. In Java, Array is a collection of elements of the same data type that are stored together. Arrays are useful when you need to store a large number of values of the same type. However, if you don't know the initial size of elements to store into, which data type we better use? Explain what is the advantages and disadvantages of the data type you choose.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
