View Single Post
  #2   Spotlight this post!  
Unread 02-10-2012, 03:29 PM
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: "cannot be resolved as a type" Error

"X cannot be resolved as a type" errors are commonly caused by two reasons:
1. Missing import statement, wrong package.
2. Referring to a type that doesn't exist.

If you are using an IDE, there should be a way to automatically remedy this.

Also, doesn't Java make your implement all the methods of the abstract class?
Code:
    protected void execute() {
    }

    protected boolean isFinished() {
    }

    protected void end() {
    }

    protected void interrupted() {
    }
Reply With Quote