I've taken care of the synchronizing problem (I just limited the access to the while loop in Advertisement), but now, when I run the program, starting from the second loop, the program ignores the...
Type: Posts; User: yihyang
I've taken care of the synchronizing problem (I just limited the access to the while loop in Advertisement), but now, when I run the program, starting from the second loop, the program ignores the...
"Does the code execute the call to the interrupt() method? Add a println that prints a message to see."
I've done that (after taking out the 'synchronized' keyword in front of the Advertisement...
Any suggestions??? Really need help here ><
I've done that (after taking out the 'synchronized' keyword in front of the Advertisement constructor), but it just prints out:
message message message
Please enter the advertisement message to...
Hello there.
I've been racking my fruitless brains for hours now, but I still have two huge problems with my code.
// -------- Begin: Advertisement.java ------------
class Advertisement...