Solved

Which of the Following Are Valid Java Statements

Question 9

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions