You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
357 B
Java
15 lines
357 B
Java
import java.java.rmi.Remote;
|
|
import java.java.rmi.RemoteException;
|
|
|
|
public interface Calc extends java.rmi.Remote {
|
|
|
|
public int add(int a, int b) throws RemoteException;
|
|
|
|
public int substract(int a, int b) throws RemoteException;
|
|
|
|
public int multiply(int a, int b) throws RemoteException;
|
|
|
|
public int divide(int a, int b) throws RemoteException;
|
|
|
|
}
|