Answer:
c. frame.setBackground(Color.YELLOW)
Explanation:
The method that sets the color of the background to yellow in J Frame is the option c as it retrieved the content pane for the frame and applied the set background () technique that inherited from the component for the color change
Therefore the option c is correct
And, the rest of the options are incorrect