6. |
What will be the output of the program? |
|||||||
|
7. |
What will be the output of the program? |
|||||||
|
8. |
What will be the output of the program?
and assuming that data must be protected from corruption, what—if anything—can you add to the preceding code to ensure the integrity of data? |
|||||||
|
9. |
the static method Thread.currentThread() returns a reference to the currently executing Thread object. What is the result of this code? |
|||||||
|
10. |
What will be the output of the program? |
|||||||
|