JavaDeploy
SiteMap
Readers Writers
Java Streams
Java Programming
Java Language
Packages and Interfaces
«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
Java Package Basics - Quiz
Each question is worth 1 point. Select the best answer for each question.
1.
What keyword do you use to import a class or a package containing classes?
Please select the best answer.
A.
include
B.
import
C.
package
2.
What standard Java package is automatically imported into every Java program?
Please select the best answer.
A.
java.applet
B.
java.lang
C.
java.io
3.
Where must you place the
package
statement in order to identify the package to which a class belongs?
Please select the best answer.
A.
At the beginning of the source code file for the class
B.
At the end of the source code file for the class
C.
Anywhere in the source code file for the class
Your score is 0.0
Submit
Quiz Explanation