Question: I have a lab where its asking me to Write, compile and test a class that displays a very simple pattern of Xs made to
I have a lab where its asking me to Write, compile and test a class that displays a very simple pattern of Xs made to look like a table and two chairs. However, Ive created the class and it looks correct but whenever I try command prompt javac Tableandchairs.Java, it says I have two errors regarding the top two Xs. Honestly dont know what to do to correct the error so I would love help on that. Thank you.
GRASP CSD (Java) w Help ** /** Programmer: Italia Kozarski Date: 01/23/2022 Lab X Instructor: Dr. Rafael Azuaje College: San Antonio College or other from Alamo Colleges District class TableandChairs { public static void main(String[] args) { System.out.println( IL "X X" "X x" "XXXXXX X XXXXX" "X x x XX x" HelloWorld.java S Tables Hello.java S Hello.class Compile Messages GRASP Messages Run I/O Interactions Stop Tableandchairs.java:13: error: ')' expected "X X" Clear 1 error Copy A
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
