In programming, there are many cases that we need to reuse or we want to store many values in a single variable, but the problem is that variables can only hold one value. On the other hand we will be using an array. An array is a series of objects, with the same type and size. Each object in an array is called an element of an array. It's either you have an array of strings or characters, integers or any that has defined data type.
The main use of an array is to organize homogeneous data together as a group to perform operations on data in a collective manner since traversal and retrieval