Multiple Choice
Which of the following are valid Java statements?
A. Color c = new Color(0, 255, 0) ;
B. Color c = new Color(0.0f, 1.0f, 0.0f) ;
C. Color c = new Color(0.0d, 1.0d, 0.0d) ;
D. setGreen;
A) All of the above.
B) A, B, C.
C) A, B, D.
D) A, B.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q4: In the Java coordinate system, the point
Q5: Method getFont of class Graphics returns _.<br>A)
Q6: A general path is _.<br>A) a set
Q7: Which of the following statements about the
Q8: Which of the following statements about the
Q10: Which of the following statements is false?<br>A)
Q11: The JColorChooser dialog allows colors to be
Q12: Class FontMetrics declares methods that can be
Q13: GeneralPath method lineTo _.<br>A) draws a line
Q14: Consider the code segment below:<br> int xValues[]