JavaDeploy
SiteMap
Readers Writers
Java Streams
Java Programming
Java Language
Java Graphics
«Prev
Next»
Java Language
Packages Interfaces
Java Classes - Quiz
Java Graphics
Java Graphics - Quiz
Java Graphics Conclusion
122
MultiThreaded Programming
Multithreaded Programming Basics
Thread Significance Assessment
Create Use Thread Class
Implement Runnable Interface
Sleeping Threads
Thread Synchronization
wait notify Methods
Multithreaded Programming - Conclusion
Set Daemon Threads
Multithreaded Programming - Quiz
Multithreading Fundamentals - Quiz
Handling Exceptions
Understanding Exceptions
Throwing Exception
Catching Exceptions
Catching Exceptions
Custom Exceptions
finally Clause
Handling Exceptions Conclusion
Java Input Output
Create Reader Streams
122
AWT and Java graphics - Quiz
Each question is worth one point. Select the best answer for each question.
1.
What AWT class forms the basis of Java graphics?
Please select the best answer.
A.
Color
B.
Graphics
C.
Paint
2.
Which method from the Graphics class could you use to draw a square?
Please select the best answer.
A.
Use the drawRect() method.
B.
Use the drawSquare() method.
C.
Create a Square object.
Your score is 0.0
Submit
Quiz Explanation