Question: What is / are the reason for using an array over a static variable? With a variable, you have to know at design time exactly
What isare the reason for using an array over a static variable?
With a variable, you have to know at design time exactly how many elements we have to handle. Variables are more difficult to maintain.
Handling large numbers of variables ie elements quickly becomes unwieldy.
Variables can only hold certain data types.
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
