Answer:
Check the explanation
Explanation:
When there is a need to initialize a lot of element of same data types,tht time we use arrays.
We have to use array whenever it involves simple programs and cases,
dx:saving age of 100 childrans of sametype
When all the ele,ents are of different data type,we hould not use arrays,even when we initialize at runtime,we dont need arrays.i.e when size is not fixed
Linked list can be used instead of arrays
ArrayList:It provides methods for creating, searching, manipulating, and sorting arrays, thereby serving as the base class for all arrays in the common language runtime.
Advantages:
Readymade properties availaible ,so lot of writing and remembering the code can be avoided.
Provide the reference for other arrays
Helps in faster execution