5 years ago in Java Applets

Which method can be used to draw a rectangle in the a Applet?

[A] drawRect()
[B] drawPolygon()
[C] drawLine()
[D] all of these
Loading...
Next Question

Overall Stats

Attempted 155
Correct 21
Incorrect 59
Viewed 75

Answers

Guest
Guest
Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

Hackers Defined - 2 years ago

To draw a rectangle, use the drawRect() method of a Graphics object.

akshay kharat
akshay kharat - 3 days ago

akshay kharat from Pune, India is saying all of these is correct answer

Vaibhav Bisht
Vaibhav Bisht - 3 weeks ago

Vaibhav Bisht from Dehradun, India is saying all of these is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying drawRect() is correct answer

bhakti dhorajiya
bhakti dhorajiya - 2 months ago

bhakti dhorajiya from Ahmedabad, India is saying drawRect() is correct answer

Priyanshi Pandya
Priyanshi Pandya - 2 months ago

Priyanshi Pandya from Ahmedabad, India is saying drawRect() is correct answer

Related Questions

To run an applet..........command is used.

  • [A] run
  • [B] java
  • [C] appletviewer
  • [D] applet

The constructor for Font class is................

  • [A] Font(String name)
  • [B] Font(string name,int style,int size)
  • [C] Font(String name,int size)
  • [D] Font(String name,int style)

Which class is used to get dimensions of an applet?

  • [A] Dimension
  • [B] metrics
  • [C] Applet
  • [D] fontMetrics

how many way to run applet

  • [A] 1
  • [B] 2
  • [C] 3
  • [D] 4

To display text in the applet status bar.........method is used.

  • [A] showStatus()
  • [B] showStatusBar()
  • [C] drawStatus()
  • [D] drawStatusBar()