Given a Graphics object g, to draw a filled oval with width 20 and height 30 centered at (50, 50), you use ___.

Given a Graphics object g, to draw a filled oval with width 20 and height 30 centered at (50, 50), you use __________.


A. g.fillOval(50, 50, 20, 30)
B. g.fillOval(50, 50, 40, 30)
C. g.fillOval(30, 30, 20, 30)
D. g.fillOval(30, 30, 40, 30)
E. g.fillOval(40, 35, 20, 30)

The correct answer is E


Java

Learn More Multiple Choice Question :