Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How to enter an array in eclipse
How to enter an array in eclipse
Arrays can't be entered at one time. You need to create them first, and then enter one element at a time with the help of a for loop or a while loop.

After creating an array, assign values to the array through a loop.

For example, code:

int? []? nums? =? New? int? [ 100];

for(int? I = 0; I< 10; i++){

nums[i]? =? Me;

}