Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted by Annamalai ( 17 years ago )
package compute;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface Compute extends Remote {
    <T> T executeTask(Task<T> t) throws RemoteException;
}
hellues@debian:~/Java-RMI$ javac Compute.java 
Compute.java:7: cannot find symbol
symbol  : class Task
location: interface compute.Compute
    <T> T executeTask(Task<T> t) throws RemoteException;
                      ^
1 error

 

Revise this Paste

Parent: 6394
Your Name: Code Language: