You are not logged in.
Pages:: 1
#1 2015-06-18 06:56:42
Java AWT And Swing Public Void:
Java Quizzes Java AWT And Swing
Question:
In Graphics class which method is used to draws a rectangle with the specified width and height?
Option A):
public abstract void drawOval(int x, int y, int width, int height)
Option B):
public abstract void fillRect(int x, int y, int width, int height)
Option C):
public void drawRect(int x, int y, int width, int height)
Option D):
public abstract void drawLine(int x1, int y1, int x2, int y2)
Correct Answer is Option C):
public void drawRect(int x, int y, int width, int height)
You cannot discover the new oceans unless you have the courage to lose the sight of the shore.
Offline
2015-06-18 06:56:42
- Advertisement
- Ads By Google
Re: Java AWT And Swing Public Void:
\n
Pages:: 1