<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package lab2;

import java.rmi.*;

//obowiazkowo public
public interface MarksCalculatorI extends Remote {
  //kazda metoda musi miec RemoteException w klauzuli throws
  //argumenty musza implementowac Serializable, albo rozszerzac interfejs Remote
  String getMark(String student) throws RemoteException;
}
</pre></body></html>