1) How are
thread priorities and thread scheduling related?
a. they aren't
b. it depends on the thread-scheduling algorithm used to implement the JVM
c. thread priority is specified when a thread is to be excuted next.
d. thread priority is used to determing the next thread to execute from the waiting thread pool.
2) java_g is used for which of the following?
a. executing a class with optimization turned off.
b. using the jdb tool.
c. compiling the specified source without optimization.
d. a and b.
3) the JVM specification defines the process by which unused memory resources are collected and put onto the heap of resues
a. true
b. false
4) which is not the method of java.lang.Object
a. wait()
b. equals(object)
c. getHashcode()
d. notify()
5) java.lang.Thread utilizes which of the following methods to relinquish the thread instance's processing slot to another thread?
a. sleep()
b. wait()
c. notify()
6) java_w performs which of the following?
a. executes a specified class
b. executes a specified class without window optimization
c. executes a specified class in its own separate window
d. execites a specified class without an associated console window.