Question #194907

* Please select the correct letter choice "A, B, C, D, or E"


10. Which can set the background color of "panel1" to red?


A. panel1.setBackground(red);

B. panel1.setBackgroundColor(red);

C. panel1.setBackground(Color) = "red";

D. panel1.setBackground(Color.red);

E. panel1.setBackground = Color.red;


Expert's answer

D


LATEST TUTORIALS
APPROVED BY CLIENTS