Sail E0 Webinar
Question
In Graphics class which method is used to draws a rectangle with the specified width and height?
Options:
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)
C .  public abstract void drawLine(int x1, int y1, int x2, int y2)
D .  public abstract void drawOval(int x, int y, int width, int height)
Answer: Option A





Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers