Quiz
Test whether your font and color skills are MAH-ve-lous by answering the following questions.
Questions
1: | Which one of the following is not a constant used to select a color?
|
2: | When you change the color of something and redraw it on a container, what must you do to make it visible?
|
3: | What do the initials HSB stand for?
|
Answers
A1: | b. The primary color of the Jacksonville Jaguars, teal, has gone unrepresented in Color. |
A2: | b. The call to repaint() causes the paintComponent() method to be called manually. |
A3: | a. If c. were the right answer, you could use colors that would ... |
Get SAMS Teach Yourself Programming with Java™ in 24 Hours, FOURTH EDITION now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.