22.In Graphics class which
method is used to draws a
rectangle with the specified
width and height without filling
color? *
a.public void drawRect(int x, int
y, int width, int height)
b.public abstract void fillRect(int
x, int y, int width, int height)
public abstract void
c. drawLine(int x1, int y1, int x2,
int y2)
public abstract void
d. drawOval(int x, int y, int width,
int height)
Answers
Answered by
1
Answer:
public void drawRect(int x, int y, int width, int height)
Explanation:
Similar questions