aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Applets, AWT, and Web Services
  • What is the color of the line, which is drawn by the foll...
Multiple choice

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);

  1. Red

  2. Green

  3. Blue

  4. Cyan

Reveal answer Fill a bubble to check yourself
C Correct answer

Keep practicing — related questions

  • What is the syntax of drawLine() method of Canvas?
  • The two colors seem at the extreme end of the pH chart ?
  • Consider the code Hello Which background color will be applied to button?
  • Color c1 = new Color(284,60,189); Which of the following statements about the given statement is/are correct?
  • Which of the following statements about the given statement is correct? Color c1 = new Color(284,60,189);
  • Which of the following is a code for green color in HTML?
  • Directions: In the following question, a statement is followed by two inferences. Which of the inferences c...
  • Directions: In the following question, a statement is followed by two inferences. Which of the inferences c...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Programming Output Evaluation (1721 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy