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(c.getGreen() - 2);
a. All of the above.
b. A, B, C.
c. A, B, D.
d. A, B.
d. A, B.
Computer Science & Information Technology
You might also like to view...
Which of the following is not an advantage of telecommuting?
A) Career advancement B) Improved teamwork C) Productivity increases D) Reduced air pollution E) Reduced energy consumption
Computer Science & Information Technology
____________________ occurs when an element in a web page responds to a user's mouse pointer action.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology