When should we use array in Java?

Arrays are used to store multiple values in a single variable , instead of declaring separate variables for each value.

Sizin İçin Seçtik  Can you make an array of objects in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *