Question: Please help me fix my Java Array Method. Need to have an output like this: Please explain what I'm missing on my code: package Java2;
Please help me fix my Java Array Method. Need to have an output like this:

Please explain what I'm missing on my code:
package Java2;
import java.awt.*; import java.awt.event.*;
public class Demo1 { public static void Array(String[] args) { // string array for x String[] x = {"x x"," x x "," x "," x x ","x x"}; // string array for y String[] y = {"y y"," y y "," y "," y "," y "}; // string array for z String[] z = {"zzzzz"," z "," z ","z ","zzzzz"}; }
public static void main(String[] args) { char input; int i; for (i = 0; i X XzZZzZ XXZ X Z xXz XXzZZZZ
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
