File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Thread" Watch "Thread" New topic
Author

Thread

Shiva Mohan
Ranch Hand

Joined: Jan 05, 2006
Posts: 477
Thinking in java book Threads workout.


I couldn't able to compile this program.where is the Test class?where is the method monitor.expect(..)?Please help me?
[ February 18, 2007: Message edited by: Shiva Mohan ]
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

You'll notice that the code in the book begins with...

import com.bruceeckel.simpletest.*;

I expect that Test is defined there.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
Don't get me started about those stupid light bulbs.
 
subject: Thread
 
Similar Threads
How to wait for multiple thread to finish run
Clarification wanted: Extending Threads vs. Implementing Runnable
Updated MulitThreads Problem
private static Test monitor = new Test(); -- Static + Private Object Referenc
thread class execution explanation required