Cannot implement or extend
Hello,
I have an interface callback
package test;
interface callback
{
void callback1(int param);
}
i m implementing this interface
package test;
class client implements callback
{
public void callback1(int p)
{
System.out.println("callback called"+p);
}
}
But when i try to compile this code it says :
Cannot resolve symbol
symbol: class callback
location: class test.client
class client implements callback
1 error
Hope anyone can solve this for me.
I have set the path n classpath .
|