public interface IMethodCallback
{
boolean Execute();
}
...
IMethodCallback callback = new IMethodCallback
{
boolean Execute()
{
return false;
}
};
这会导致错误。我怎样才能用Java做这样的事情?