Question: Using the Squares,java class, modify it to print this shape. I'm assuming its just changing some numbers around. Problem 1. Modify written in class Squares

Problem 1. Modify written in class Squares class (see code on Moodle) into class Upside Down Squares. It should draw the same picture as, but upside down: Problem 2. Modify written in class Robot class (see code on Moodle) to add meth- in Course: 21SP CS120A - Object-o x Dropbox - Kings-OOSD-S21 - Six Assignment.pdf Odropbox.com/sh/avmfor2coqejg8c/AABSJJO8B96g|pZS7GCjy&Cya?dl=0&previe e)?t[r-1][c-1]:t[r-1][t[@].length-1]; 15 int right (cct[e].length-1)?ttr-1][c+1]:t[r-1][0]; 16 t[r][c]-(left-right)*2; 17 > 18 E.setColor(Color.red); 19 for (int rue; rct.length; r++) for (int cse; ect[e].length; c++){ 21 int 5-4; 22 if (t[r][c]==1) 23 24 8. FillRect(180+5"c, 100-s'r, 5, 5); > 25 > 26 2e Type here to search O a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
