Question: in java Create an array named numbers filled with the following numbers and use a for loop to print them out, separated by commas, all
in java Create an array named "numbers" filled with the following numbers and use a for loop to print them out, separated by commas, all on one line of output:
Use a minimal amount of code to fill a single array with ones, followed by twos, followed by ones. You do not need to display anything out.
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
