Multiple choice

The statement 'Color c = new Color (230, 260, 244)' is correct.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The Color constructor Color(int r, int g, int b) requires RGB values to be in the range 0-255. The value 260 in the green component exceeds this maximum valid range, making this statement incorrect. Valid RGB values must be between 0 and 255 inclusive.