|
Re: Class doesn't get recognized but eclipse [message #1739988 is a reply to message #1739975] |
Sun, 07 August 2016 06:48 |
|
These are more Java questions that ones specific to Eclipse.
1) If your class declaration says it *implements* an Interface type, all of the methods declared by that interface have to be available on your class, either directly or through inheritance. In this case, you literally need to have a public run() method.
2) You can't declare a method inside of another method like you're attempting to, and you certainly can't make it public.
You might want to spend some time on javaranch.com or stackoverflow.com for these kinds of questions.
_
Nitin Dahyabhai
Eclipse Web Tools Platform
[Updated on: Sun, 07 August 2016 06:48] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.08013 seconds