6 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

Create your Digital Resume For FREE on your name's sub domain "yourname.wcard.io". Register Here!


Overall Stats

Attempted 73
Correct 9
Incorrect 24
Viewed 40

Answers

Guest
Guest
Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

Hackers Defined - 3 years ago

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

ANSAR womens
ANSAR womens - 4 years ago

ANSAR womens from Kozhikode, India is saying drawPolygon() is correct answer

ANSAR womens
ANSAR womens - 4 years ago

ANSAR womens from Kozhikode, India is saying drawRect() is correct answer

s g m
s g m - 4 years ago

s g m from Solapur, India is saying all of these is correct answer

Radwa Maher
Radwa Maher - 4 years ago

Radwa Maher from Romania is saying drawPolygon() is correct answer

Indu bharti
Indu bharti - 4 years ago

Indu bharti from Jammu, India is saying drawRect() is correct answer

Related Questions

which package contains color class?

  • [A] java.applet
  • [B] java.awt
  • [C] java.graphics
  • [D] java.lang

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)

The syntax of paint()method is................

  • [A] public void paint()
  • [B] public void paint(String s)
  • [C] public void paint(Graphics g)
  • [D] public void paint(Graphics g,String s)

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

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