The method __________ sets the background color to yellow in JFrame f.
A. setBackground(Color.yellow)
B. f.setBackground(Color.YELLOW)
C. f.setBackground(Color.yellow)
D. setBackground(Color.YELLOW)
E. f.setBackGround(Color.yellow)
The correct answer is BC
Explanation: Since JDK 1.4, you can use either Color.YELLOW or Color.yellow to specify a standard color. Prior to JDK 1.4, you can only use the lowercase color name.