Examlex

Solved

Consider an Old Fashioned Telephone Booth That Can Be Occupied

question 66

Multiple Choice

Consider an old fashioned telephone booth that can be occupied by one person at a time. Suppose one person went in and dialed a part of her number, and had to leave the booth. A second person went in and dialed a part of his number, and before the number was fully dialed, a connection to some other phone was made. What Java threads analogy fits this scenario?
I The two people are the threads
II The shared data is the telephone
III The state of the object is corrupt


Definitions:

Related Questions