aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Reg. Runnable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Reg. Runnable " Watch "Reg. Runnable " New topic
Author

Reg. Runnable

Angela Narain
Ranch Hand

Joined: Apr 14, 2001
Posts: 327
Another example from Barry Boone's exam :

The correct answer is 1
But it should get compile time error as Dots implements
Runnable but does not provide the run() method.
james hoskins
Ranch Hand

Joined: Jun 28, 2001
Posts: 31
hello angela,
you are right, no run() method means Dots must be declared abstract.
kind regards,
james
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Reg. Runnable