Question: In graphics class which method is used to draws a rectangle with the specified width and height? a . public void drawRect ( int x
In graphics class which method is used to draws a rectangle with the specified width and height?
a
public void drawRectint x int y int width, int height
b
public abstract void fillRectint x int y int width, int height
c
public abstract void drawLineint x int y int x int y
d
public abstract void drawOvalint x int y int width, int height
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
