Which of the following methods draws a filled 3D rectangle?

Which of the following methods draws a filled 3D rectangle?


A. g.fill3DRect(50, 50, 20, 30)
B. g.fill3DRect(50, 50, 20, 30, 1)
C. g.fill3DRect(50, 50, 20, 30, true)
D. g.fill3DRect(50, 50, 20, 30, false)

The correct answer is CD


Java

Learn More Multiple Choice Question :