6 years ago in Java Applets

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)
Loading...
Next Question

Overall Stats

Attempted 135
Correct 53
Incorrect 26
Viewed 56

Answers

Guest
Guest
Bharath
Bharath - 2 months ago

Bharath from Hyderabad, India is saying public void paint(Graphics g) is correct answer

sah vikash
sah vikash - 2 months ago

sah vikash from Ahmedabad, India is saying public void paint(Graphics g) is correct answer

atish lohade
atish lohade - 3 months ago

atish lohade from Aurangabad, India is saying public void paint(Graphics g) is correct answer

Jagannath Pal
Jagannath Pal - 6 months ago

Jagannath Pal from Rourkela, India is saying public void paint(Graphics g) is correct answer

Shamsa hafeez
Shamsa hafeez - 7 months ago

Shamsa hafeez from Lahore, Pakistan is saying public void paint(Graphics g) is correct answer

Related Questions

Which class is used to get dimensions of an applet?

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

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

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

To display text on the applet........method is used.

  • [A] showString()
  • [B] drawString()
  • [C] println()
  • [D] printString()

how many way to run applet

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