Question: Question 7 1 Which code block will set the color of the triangle named tri to be blue? tri.setBackground/java.awt.Color blue); tri.setBackground(blue); tri.setBackground/java.awt.Color col); O tri.setBackground/java.awt.Color.blue);
Question 7 1 Which code block will set the color of the triangle named "tri" to be blue? tri.setBackground/java.awt.Color blue); tri.setBackground(blue); tri.setBackground/java.awt.Color col); O tri.setBackground/java.awt.Color.blue); Question 8 1 pts
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
