import java.rmi.Remote; import java.rmi.RemoteException; public interface RMIInterface extends Remote { public String[] display(String cityName) throws RemoteException; public String booking(String cityName, String hotelName) throws RemoteException; }