Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created February 12, 2018 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/cc7de646c23c976fe4b78a777e9c4e8f to your computer and use it in GitHub Desktop.
Save parzibyte/cc7de646c23c976fe4b78a777e9c4e8f to your computer and use it in GitHub Desktop.
import java.rmi.Remote;
import java.rmi.RemoteException;
/*
Declarar firma de métodos que serán sobrescritos
*/
public interface Interfaz extends Remote {
float sumar(float numero1, float numero2) throws RemoteException;
float restar(float numero1, float numero2) throws RemoteException;
float multiplicar(float numero1, float numero2) throws RemoteException;
float dividir(float numero1, float numero2) throws RemoteException;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment