Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread

 
Shiva Mohan
Ranch Hand
Posts: 486
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll notice that the code in the book begins with...

import com.bruceeckel.simpletest.*;

I expect that Test is defined there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic