What is the color of the line, which is drawn by the following code snippet?
grph.setColor(Color.red.green.yellow.red.cyan);
grph.drawLine(0, 0, 100,100);

Options
- Red
- Green
- Blue
- Cyan


CORRECT ANSWER : Cyan

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement